[gtk+] GtkListBoxRow: Set clip



commit f09573757df07700b0510945c8bcd83171bd3a79
Author: Timm Bäder <mail baedert org>
Date:   Wed Aug 13 11:32:47 2014 +0200

    GtkListBoxRow: Set clip
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734709

 gtk/gtklistbox.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index 56ffc34..78f3552 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -23,6 +23,7 @@
 #include "gtkmarshalers.h"
 #include "gtkprivate.h"
 #include "gtkintl.h"
+#include "gtkwidgetprivate.h"
 
 #include <float.h>
 #include <math.h>
@@ -3135,6 +3136,8 @@ gtk_list_box_row_size_allocate (GtkWidget     *widget,
 
       gtk_widget_size_allocate (child, &child_allocation);
     }
+
+  _gtk_widget_set_simple_clip (widget);
 }
 
 /**


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