[gedit] spell: small adjustment for the language chooser dialog



commit 7d47107296667b3f21de79081bf5bd2e97af3de9
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Nov 20 15:02:34 2015 +0100

    spell: small adjustment for the language chooser dialog
    
    - Connect to the ::response signal without the after flag, it is no
      longer needed. It's more convenient without any flag.

 configure.ac                       |    2 +-
 plugins/spell/gedit-spell-plugin.c |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d0cb79e..3218f49 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@ GTK_REQUIRED=3.19.0
 GTKSOURCEVIEW_REQUIRED=3.18
 LIBPEAS_REQUIRED=1.14.1
 LIBXML_REQUIRED=2.5.0
-GSPELL_REQUIRED=0.1
+GSPELL_REQUIRED=0.2.0
 PYGOBJECT_REQUIRED=3.0.0
 
 AC_CONFIG_HEADERS(config.h)
diff --git a/plugins/spell/gedit-spell-plugin.c b/plugins/spell/gedit-spell-plugin.c
index 87b1ead..01f19aa 100644
--- a/plugins/spell/gedit-spell-plugin.c
+++ b/plugins/spell/gedit-spell-plugin.c
@@ -352,10 +352,10 @@ set_language_cb (GSimpleAction *action,
                               _("_Help"),
                               GTK_RESPONSE_HELP);
 
-       g_signal_connect_after (dialog,
-                               "response",
-                               G_CALLBACK (language_dialog_response_cb),
-                               NULL);
+       g_signal_connect (dialog,
+                         "response",
+                         G_CALLBACK (language_dialog_response_cb),
+                         NULL);
 
        gtk_widget_show (dialog);
 }


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