summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/chanview-tree.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/fe-gtk/chanview-tree.c b/src/fe-gtk/chanview-tree.c
index 4a1682ba..261304db 100644
--- a/src/fe-gtk/chanview-tree.c
+++ b/src/fe-gtk/chanview-tree.c
@@ -73,8 +73,8 @@ cv_tree_click_cb (GtkTreeView *tree, GdkEventButton *event, chanview *cv)
 	return ret;
 }
 
-static void
-cv_tree_scroll_event_cb (GtkWidget *widget, GdkEventScroll *event)
+static gboolean
+cv_tree_scroll_event_cb (GtkWidget *widget, GdkEventScroll *event, gpointer user_data)
 {
 	if (prefs.hex_gui_tab_scrollchans)
 	{
@@ -82,7 +82,11 @@ cv_tree_scroll_event_cb (GtkWidget *widget, GdkEventScroll *event)
 			mg_switch_page (1, 1);
 		else if (event->direction == GDK_SCROLL_UP)
 			mg_switch_page (1, -1);
+
+		return TRUE;
 	}
+
+	return FALSE;
 }
 
 static void