[gtranslator] Fix GtrView focus infinite loop
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Fix GtrView focus infinite loop
- Date: Tue, 18 Sep 2018 15:38:01 +0000 (UTC)
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]