[gtk+] headerbar: Implement clipping



commit 3fcb8928310aa24696dd6e0c5350d263fd034518
Author: Benjamin Otte <otte redhat com>
Date:   Thu Jan 22 14:32:38 2015 +0100

    headerbar: Implement clipping

 gtk/gtkheaderbar.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 63c05b8..ecc6bea 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -1148,6 +1148,8 @@ gtk_header_bar_size_allocate (GtkWidget     *widget,
       child_allocation.width = end_width - priv->spacing;
       gtk_widget_size_allocate (priv->titlebar_end_box, &child_allocation);
     }
+
+  _gtk_widget_set_simple_clip (widget, NULL);
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]