summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-06-12 14:39:12 +0200
committerBenjamin Otte <otte@redhat.com>2014-06-16 18:43:49 +0200
commitfba90d4c65a03a17b3c833992fc2672bd98f6f16 (patch)
treea0fe54114c5a16ae0b75b4f2ee0242c4b7e750d2
parentb1cca3aa11a853b55357786fb8157081a341c498 (diff)
downloadgtk+-fba90d4c65a03a17b3c833992fc2672bd98f6f16.tar.gz
colorswatch: handle clip for box-shadow
-rw-r--r--gtk/gtkcolorswatch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c
index 21cedde652..ccee3ea122 100644
--- a/gtk/gtkcolorswatch.c
+++ b/gtk/gtkcolorswatch.c
@@ -30,6 +30,7 @@
#include "gtkmenushell.h"
#include "gtkprivate.h"
#include "gtkintl.h"
+#include "gtkwidgetprivate.h"
#include "a11y/gtkcolorswatchaccessibleprivate.h"
@@ -632,6 +633,8 @@ swatch_size_allocate (GtkWidget *widget,
allocation->y,
allocation->width,
allocation->height);
+
+ _gtk_widget_set_simple_clip (widget);
}
static gboolean