Commit eed1ae68 authored by Matthias Clasen's avatar Matthias Clasen

GtkSwitch: Use G_PARAM_EXPLICIT_NOTIFY

parent 17059f9c
......@@ -802,7 +802,7 @@ gtk_switch_class_init (GtkSwitchClass *klass)
P_("Active"),
P_("Whether the switch is on or off"),
FALSE,
GTK_PARAM_READWRITE);
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
* GtkSwitch:state:
......@@ -817,7 +817,7 @@ gtk_switch_class_init (GtkSwitchClass *klass)
P_("State"),
P_("The backend state"),
FALSE,
GTK_PARAM_READWRITE);
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
gobject_class->set_property = gtk_switch_set_property;
gobject_class->get_property = gtk_switch_get_property;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment