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



commit 37c76aad11d5619c54acc3f62c008a588721ed6f
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..be71be7 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_simple_clip (widget);
 }
 
 static gboolean


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