gui/event-widget: Mark properties as explicit-notify
A small correctness change. Suggested by Hari. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/758>
This commit is contained in:
committed by
Marge Bot
parent
c0127fa2af
commit
c609f281dc
@@ -689,7 +689,7 @@ gcal_event_widget_class_init (GcalEventWidgetClass *klass)
|
|||||||
*/
|
*/
|
||||||
properties[PROP_EVENT] = g_param_spec_object ("event", NULL, NULL,
|
properties[PROP_EVENT] = g_param_spec_object ("event", NULL, NULL,
|
||||||
GCAL_TYPE_EVENT,
|
GCAL_TYPE_EVENT,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GcalEventWidget::timestamp-policy:
|
* GcalEventWidget::timestamp-policy:
|
||||||
@@ -702,7 +702,7 @@ gcal_event_widget_class_init (GcalEventWidgetClass *klass)
|
|||||||
properties[PROP_TIMESTAMP_POLICY] = g_param_spec_enum ("timestamp-policy", NULL, NULL,
|
properties[PROP_TIMESTAMP_POLICY] = g_param_spec_enum ("timestamp-policy", NULL, NULL,
|
||||||
GCAL_TYPE_TIMESTAMP_POLICY,
|
GCAL_TYPE_TIMESTAMP_POLICY,
|
||||||
GCAL_TIMESTAMP_POLICY_NONE,
|
GCAL_TIMESTAMP_POLICY_NONE,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
g_object_class_install_properties (object_class, N_PROPS, properties);
|
g_object_class_install_properties (object_class, N_PROPS, properties);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user