[gtk+] listbox: Fix an oversight in the row gadget conversion



commit 4eeeb5811d0b026bd55260666f5fc3236ad00479
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 15 14:12:30 2015 -0500

    listbox: Fix an oversight in the row gadget conversion

 gtk/gtklistbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index 76babbc..be879d4 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -3371,7 +3371,7 @@ gtk_list_box_row_allocate (GtkCssGadget        *gadget,
   if (child && gtk_widget_get_visible (child))
     gtk_widget_size_allocate (child, (GtkAllocation *)allocation);
 
-  _gtk_widget_set_simple_clip (widget, NULL);
+  gtk_container_get_children_clip (GTK_CONTAINER (widget), out_clip);
 }
 
 /**


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