switch: Notify :state by pspec

This commit is contained in:
Timm Bäder 2019-01-30 17:46:08 +01:00
parent a7fa1cf6f2
commit 5852a5ece8

View File

@ -762,7 +762,7 @@ gtk_switch_set_state (GtkSwitch *sw,
else
gtk_widget_unset_state_flags (GTK_WIDGET (sw), GTK_STATE_FLAG_CHECKED);
g_object_notify (G_OBJECT (sw), "state");
g_object_notify_by_pspec (G_OBJECT (sw), switch_props[PROP_STATE]);
}
/**