[gspell] language-chooser-button: connect to ::response without the after flag
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell] language-chooser-button: connect to ::response without the after flag
- Date: Fri, 20 Nov 2015 16:15:34 +0000 (UTC)
commit 99d34da71bb73665d2e4cc5cd66a2c7b4d14c41c
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Nov 20 17:14:06 2015 +0100
language-chooser-button: connect to ::response without the after flag
It is no longer needed. The property will be notified before.
gspell/gspell-language-chooser-button.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gspell/gspell-language-chooser-button.c b/gspell/gspell-language-chooser-button.c
index b04914d..e03adec 100644
--- a/gspell/gspell-language-chooser-button.c
+++ b/gspell/gspell-language-chooser-button.c
@@ -165,8 +165,8 @@ gspell_language_chooser_button_constructed (GObject *object)
}
static void
-dialog_response_after_cb (GtkDialog *dialog,
- gint response)
+dialog_response_cb (GtkDialog *dialog,
+ gint response)
{
gtk_widget_destroy (GTK_WIDGET (dialog));
}
@@ -218,10 +218,10 @@ ensure_dialog (GspellLanguageChooserButton *button)
button, "language",
G_BINDING_DEFAULT);
- g_signal_connect_after (priv->dialog,
- "response",
- G_CALLBACK (dialog_response_after_cb),
- NULL);
+ g_signal_connect (priv->dialog,
+ "response",
+ G_CALLBACK (dialog_response_cb),
+ NULL);
g_signal_connect_object (priv->dialog,
"destroy",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]