[gtranslator] Fix GtrView focus infinite loop



commit 2f65dbf2b6fd7cdc4fafdf9c9a5eed012bc8d386
Author: Daniel GarcĂ­a Moreno <danigm wadobo com>
Date:   Tue Sep 18 17:37:28 2018 +0200

    Fix GtrView focus infinite loop

 src/gtr-tab.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gtr-tab.c b/src/gtr-tab.c
index 96a3ab7a..0eb16890 100644
--- a/src/gtr-tab.c
+++ b/src/gtr-tab.c
@@ -124,12 +124,13 @@ static guint signals[LAST_SIGNAL];
 
 static gboolean gtr_tab_autosave (GtrTab * tab);
 
-static void
+static gboolean
 msg_grab_focus (GtrTab *tab)
 {
   GtrTabPrivate *priv;
   priv = gtr_tab_get_instance_private (tab);
   gtk_widget_grab_focus (priv->trans_msgstr[0]);
+  return FALSE;
 }
 
 static void


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