widget: Add _gtk_widget_set_css_clip()

... and use it in GtkBox and GtkGrid.
This commit is contained in:
Benjamin Otte
2014-05-21 23:13:52 +02:00
parent 434f91feff
commit 0cd63faee2
4 changed files with 52 additions and 1 deletions

View File

@ -24,6 +24,7 @@
#include "gtkorientableprivate.h"
#include "gtksizerequest.h"
#include "gtkwidgetprivate.h"
#include "gtkprivate.h"
#include "gtkintl.h"
@ -1677,6 +1678,8 @@ gtk_grid_size_allocate (GtkWidget *widget,
gtk_grid_request_position (&request, 1);
gtk_grid_request_allocate_children (&request);
_gtk_widget_set_simple_clip (widget);
}
static gboolean