diff options
author | Mohammed Sadiq <sadiq@sadiqpk.org> | 2018-05-13 13:21:06 +0530 |
---|---|---|
committer | Daniel Boles <dboles.src@gmail.com> | 2018-05-13 14:51:00 +0100 |
commit | 26b6071db83293d8ba041561b0753528c45ed404 (patch) | |
tree | 6fa91848fde5ff63c1098d16c343b9de57f47e43 | |
parent | 7886c645c4940b3afa5ebb10b9fb2057f83fdfa4 (diff) | |
download | gtk+-26b6071db83293d8ba041561b0753528c45ed404.tar.gz |
appchooserdialog: Don't fire notify::heading twice
The gtk_app_chooser_dialog_set_heading() function do emit
notify::heading. Since the setter simply calls the function,
the setter itself shouldn't emit a notify signal by itself.
-rw-r--r-- | gtk/gtkappchooserdialog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkappchooserdialog.c b/gtk/gtkappchooserdialog.c index 5fb1db469e..ca3f8afd61 100644 --- a/gtk/gtkappchooserdialog.c +++ b/gtk/gtkappchooserdialog.c @@ -685,7 +685,8 @@ gtk_app_chooser_dialog_class_init (GtkAppChooserDialogClass *klass) P_("Heading"), P_("The text to show at the top of the dialog"), NULL, - G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | + G_PARAM_EXPLICIT_NOTIFY); g_object_class_install_property (gobject_class, PROP_HEADING, pspec); /* Bind class to template |