From 26b6071db83293d8ba041561b0753528c45ed404 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 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