mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
GtkAccelLabel: use G_PARAM_EXPLICIT_NOTIFY
This commit is contained in:
parent
10f8ea27bf
commit
fba83da3ee
@ -191,14 +191,14 @@ gtk_accel_label_class_init (GtkAccelLabelClass *class)
|
|||||||
P_("Accelerator Closure"),
|
P_("Accelerator Closure"),
|
||||||
P_("The closure to be monitored for accelerator changes"),
|
P_("The closure to be monitored for accelerator changes"),
|
||||||
G_TYPE_CLOSURE,
|
G_TYPE_CLOSURE,
|
||||||
GTK_PARAM_READWRITE);
|
GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
props[PROP_ACCEL_WIDGET] =
|
props[PROP_ACCEL_WIDGET] =
|
||||||
g_param_spec_object ("accel-widget",
|
g_param_spec_object ("accel-widget",
|
||||||
P_("Accelerator Widget"),
|
P_("Accelerator Widget"),
|
||||||
P_("The widget to be monitored for accelerator changes"),
|
P_("The widget to be monitored for accelerator changes"),
|
||||||
GTK_TYPE_WIDGET,
|
GTK_TYPE_WIDGET,
|
||||||
GTK_PARAM_READWRITE);
|
GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
g_object_class_install_properties (gobject_class, LAST_PROP, props);
|
g_object_class_install_properties (gobject_class, LAST_PROP, props);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user