diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-04-07 15:47:24 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-04-07 15:47:24 +0000 |
commit | 5b78a3048f7f7fbdd23b7338aa81d7bec237a7ee (patch) | |
tree | 88cdbe11a4df01a9643dfb311d66da5982a316fb /gtk/gtkswitch.c | |
parent | 676ac380cd10b5c78d222a02e309b8448b17c6e5 (diff) | |
download | gtk+-5b78a3048f7f7fbdd23b7338aa81d7bec237a7ee.tar.gz |
gizmo: Add a contains_func
Let GtkGizmo override the contains() implementation.
Update all callers to pass NULL for the contains_func.
Diffstat (limited to 'gtk/gtkswitch.c')
-rw-r--r-- | gtk/gtkswitch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c index 56a077abd5..c0bc4ecc4f 100644 --- a/gtk/gtkswitch.c +++ b/gtk/gtkswitch.c @@ -652,7 +652,7 @@ gtk_switch_init (GtkSwitch *self) priv->off_image = gtk_image_new_from_icon_name ("switch-off-symbolic"); gtk_widget_set_parent (priv->off_image, GTK_WIDGET (self)); - priv->slider = gtk_gizmo_new ("slider", NULL, NULL, NULL); + priv->slider = gtk_gizmo_new ("slider", NULL, NULL, NULL, NULL); gtk_widget_set_parent (priv->slider, GTK_WIDGET (self)); } |