From 8fdf6098d9b770ac1b7abd5c7b0498554bcd6fc3 Mon Sep 17 00:00:00 2001 From: sgranjoux Date: Mon, 15 Oct 2007 19:26:48 +0000 Subject: [PATCH] * plugins/document-manager/search-box.c: Fix a crash (with an useful comment) focus-out-event handler must return a gboolean git-svn-id: http://svn.gnome.org/svn/anjuta/trunk@3218 1dbfb86a-d425-0410-a06b-cb591aac69f6 --- ChangeLog | 6 ++++++ plugins/document-manager/search-box.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5c78d26c..b9813cd8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-15 Sebastien Granjoux + + * plugins/document-manager/search-box.c: + Fix a crash (with an useful comment) focus-out-event handler must + return a gboolean + 2007-10-14 Johannes Schmid * plugins/sourceview/sourceview.c: diff --git a/plugins/document-manager/search-box.c b/plugins/document-manager/search-box.c index 420a5a92..91e99b88 100644 --- a/plugins/document-manager/search-box.c +++ b/plugins/document-manager/search-box.c @@ -207,7 +207,7 @@ on_entry_key_pressed (GtkWidget* entry, GdkEventKey* event, SearchBox* search_bo return FALSE; } -static void +static gboolean on_search_focus_out (GtkWidget* widget, GdkEvent* event, SearchBox* search_box) { SearchBoxPrivate* private = GET_PRIVATE(search_box); @@ -217,6 +217,8 @@ on_search_focus_out (GtkWidget* widget, GdkEvent* event, SearchBox* search_box) private->last_start = NULL; } anjuta_status_pop (private->status); + + return FALSE; } static void -- 2.11.4.GIT