[gtk+/wip/clip: 6/6] button: Implement clip



commit 7f6aadfdcf33c4481b53569a22b8416d2bd7e115
Author: Benjamin Otte <otte redhat com>
Date:   Fri May 23 16:01:45 2014 +0200

    button: Implement clip

 gtk/gtkbutton.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 239c512..5e234ec 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -1761,6 +1761,8 @@ gtk_button_size_allocate (GtkWidget     *widget,
 
       gtk_widget_size_allocate_with_baseline (child, &child_allocation, baseline);
     }
+
+  _gtk_widget_set_css_clip (widget);
 }
 
 static gboolean


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