[gtk+] combobox: Implement clip



commit 1cbace5f68602575b24627e0e40a1792fb87a97d
Author: Benjamin Otte <otte redhat com>
Date:   Sat May 24 16:21:02 2014 +0200

    combobox: Implement clip

 gtk/gtkcombobox.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 4de54ac..e31f521 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2762,6 +2762,8 @@ gtk_combo_box_size_allocate (GtkWidget     *widget,
       child.height = MAX (1, child.height);
       gtk_widget_size_allocate (child_widget, &child);
     }
+
+  _gtk_widget_set_simple_clip (widget);
 }
 
 #undef GTK_COMBO_BOX_ALLOCATE_BUTTON


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