diff options
Diffstat (limited to 'gtk/gtkswitch.c')
-rw-r--r-- | gtk/gtkswitch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c index 5677fa8b88..9ba4b65b20 100644 --- a/gtk/gtkswitch.c +++ b/gtk/gtkswitch.c @@ -51,6 +51,7 @@ #include "gtkactionable.h" #include "a11y/gtkswitchaccessible.h" #include "gtkactionhelper.h" +#include "gtkwidgetprivate.h" #include <math.h> @@ -388,6 +389,8 @@ gtk_switch_size_allocate (GtkWidget *widget, allocation->y, allocation->width, allocation->height); + + _gtk_widget_set_simple_clip (widget); } static void |