commit 36c0dbe2d63c661514fc4b58a809e17b4c5a6578
parent e2e7b25a230d13cb0d7557e50de8ab5a5a802724
Author: paul <paul@claws-mail.org>
Date: Mon, 4 Oct 2021 09:08:49 +0100
fix incompatible pointer type warning
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mimeview.c b/src/mimeview.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2019 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2021 the Claws Mail team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1549,7 +1549,7 @@ static gboolean mimeview_scrolled(GtkWidget *widget, GdkEventScroll *event,
gdouble x, y;
if ((event->direction == GDK_SCROLL_SMOOTH) &&
- gdk_event_get_scroll_deltas(event, &x, &y)) {
+ gdk_event_get_scroll_deltas((GdkEvent*)event, &x, &y)) {
if (y < 0)
scrollbutton->scroll_type = GTK_SCROLL_STEP_BACKWARD;
else