diff options
author | Benjamin Otte <otte@redhat.com> | 2014-05-21 23:13:52 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-05-24 16:12:21 +0200 |
commit | 0cd63faee25417d27385171dfa4b77618c20350f (patch) | |
tree | 55ee10c1032a7e7cabf04fcff824e4c3649865fe /gtk/gtkgrid.c | |
parent | 434f91feff8e59d78d4b9bdb5b17d520a6236fe1 (diff) | |
download | gtk+-0cd63faee25417d27385171dfa4b77618c20350f.tar.gz |
widget: Add _gtk_widget_set_css_clip()
... and use it in GtkBox and GtkGrid.
Diffstat (limited to 'gtk/gtkgrid.c')
-rw-r--r-- | gtk/gtkgrid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c index 5c93571ccf..98080fccbc 100644 --- a/gtk/gtkgrid.c +++ b/gtk/gtkgrid.c @@ -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 |