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.
This commit is contained in:
Mohammed Sadiq 2018-05-13 13:21:06 +05:30 committed by Daniel Boles
parent 7886c645c4
commit 26b6071db8

View File

@ -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