[gtk+] colorswatch: handle clip for box-shadow
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] colorswatch: handle clip for box-shadow
- Date: Mon, 16 Jun 2014 16:44:03 +0000 (UTC)
commit fba90d4c65a03a17b3c833992fc2672bd98f6f16
Author: Benjamin Otte <otte redhat com>
Date: Thu Jun 12 14:39:12 2014 +0200
colorswatch: handle clip for box-shadow
gtk/gtkcolorswatch.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c
index 21cedde..ccee3ea 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]