[gtranslator] Return FALSE on focus-out-event signal callbacks



commit c88e09738d8ecd99cb4d2ddc588354a553bba6fc
Author: Arnel A. Borja <kyoushuu yahoo com>
Date:   Mon Apr 8 16:44:48 2013 +0200

    Return FALSE on focus-out-event signal callbacks

 src/gtr-languages-fetcher.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gtr-languages-fetcher.c b/src/gtr-languages-fetcher.c
index 92141c3..8f38660 100644
--- a/src/gtr-languages-fetcher.c
+++ b/src/gtr-languages-fetcher.c
@@ -259,12 +259,14 @@ on_language_activate (GtkEntry         *entry,
               fill_from_language_entry);
 }
 
-static void
+static gboolean
 on_language_focus_out_event (GtkEntry         *entry,
                              GdkEvent         *event,
                              GtrLanguagesFetcher *fetcher)
 {
   on_language_activate (entry, fetcher);
+
+  return FALSE;
 }
 
 static void
@@ -275,12 +277,14 @@ on_language_code_activate (GtkEntry         *entry,
               fill_from_language_code_entry);
 }
 
-static void
+static gboolean
 on_language_code_focus_out_event (GtkEntry         *entry,
                                   GdkEvent         *event,
                                   GtrLanguagesFetcher *fetcher)
 {
   on_language_code_activate (entry, fetcher);
+
+  return FALSE;
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]