[gtk+] GtkToolbar: Set clip
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkToolbar: Set clip
- Date: Sun, 10 Aug 2014 11:58:53 +0000 (UTC)
commit cb60da5f6bf310d9ac8875e439cfe8e19327b801
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 10 07:53:59 2014 -0400
GtkToolbar: Set clip
This allows outset box shadows to work on toolbars.
https://bugzilla.gnome.org/show_bug.cgi?id=734526
gtk/gtktoolbar.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index 36d001a..5ec5e52 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -1834,6 +1834,8 @@ gtk_toolbar_size_allocate (GtkWidget *widget,
g_free (allocations);
g_free (new_states);
+
+ _gtk_widget_set_simple_clip (widget);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]