From 828c4f7aa5a7e0bc4b243de6a7143467cf599e7c Mon Sep 17 00:00:00 2001 From: Li Yuan Date: Thu, 4 Mar 2010 16:30:00 +0800 Subject: [PATCH] Return FALSE in signal handlers to make the signals be propagated Bug #611686. --- modules/other/gail/gailtreeview.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c index e4233a8f5c..a054297838 100644 --- a/modules/other/gail/gailtreeview.c +++ b/modules/other/gail/gailtreeview.c @@ -193,8 +193,8 @@ static void gail_tree_view_changed_gtk (GtkTreeSelection static void columns_changed (GtkTreeView *tree_view); static void cursor_changed (GtkTreeView *tree_view); static gint idle_cursor_changed (gpointer data); -static void focus_in (GtkWidget *widget); -static void focus_out (GtkWidget *widget); +static gboolean focus_in (GtkWidget *widget); +static gboolean focus_out (GtkWidget *widget); static void model_row_changed (GtkTreeModel *tree_model, GtkTreePath *path, @@ -2660,7 +2660,7 @@ idle_cursor_changed (gpointer data) return FALSE; } -static void +static gboolean focus_in (GtkWidget *widget) { GtkTreeView *tree_view; @@ -2692,9 +2692,10 @@ focus_in (GtkWidget *widget) } } } + return FALSE; } -static void +static gboolean focus_out (GtkWidget *widget) { GailTreeView *gail_tree_view; @@ -2707,6 +2708,7 @@ focus_out (GtkWidget *widget) g_object_unref (gail_tree_view->focus_cell); gail_tree_view->focus_cell = NULL; } + return FALSE; } static void