GtkAppChooserButton: Use G_PARAM_EXPLICIT_NOTIFY
This commit is contained in:
parent
d6cae074a6
commit
5ce3d8e74f
@ -616,7 +616,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
|
|||||||
P_("Include an 'Other…' item"),
|
P_("Include an 'Other…' item"),
|
||||||
P_("Whether the combobox should include an item that triggers a GtkAppChooserDialog"),
|
P_("Whether the combobox should include an item that triggers a GtkAppChooserDialog"),
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
|
||||||
g_object_class_install_property (oclass, PROP_SHOW_DIALOG_ITEM, pspec);
|
g_object_class_install_property (oclass, PROP_SHOW_DIALOG_ITEM, pspec);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -633,7 +633,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
|
|||||||
P_("Show default item"),
|
P_("Show default item"),
|
||||||
P_("Whether the combobox should show the default application on top"),
|
P_("Whether the combobox should show the default application on top"),
|
||||||
FALSE,
|
FALSE,
|
||||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
|
||||||
g_object_class_install_property (oclass, PROP_SHOW_DEFAULT_ITEM, pspec);
|
g_object_class_install_property (oclass, PROP_SHOW_DEFAULT_ITEM, pspec);
|
||||||
|
|
||||||
|
|
||||||
@ -647,7 +647,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
|
|||||||
P_("Heading"),
|
P_("Heading"),
|
||||||
P_("The text to show at the top of the dialog"),
|
P_("The text to show at the top of the dialog"),
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
|
||||||
g_object_class_install_property (oclass, PROP_HEADING, pspec);
|
g_object_class_install_property (oclass, PROP_HEADING, pspec);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user