From b59a8c2911940b6ef6837cb24d61dd26a44406b7 Mon Sep 17 00:00:00 2001 From: Mohammed Sadiq Date: Sun, 13 May 2018 13:21:06 +0530 Subject: [PATCH] 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. --- gtk/gtkappchooserdialog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkappchooserdialog.c b/gtk/gtkappchooserdialog.c index 352f735486..8762796e34 100644 --- a/gtk/gtkappchooserdialog.c +++ b/gtk/gtkappchooserdialog.c @@ -639,7 +639,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 -- 2.30.2