toolitem: set clip on allocation

So that widgets that are children of tool items can render their shadows
too.
This commit is contained in:
Cosimo Cecchi 2014-09-03 14:45:51 -07:00
parent 356e02fc78
commit db372382e9

View File

@ -31,7 +31,7 @@
#include "deprecated/gtkactivatable.h"
#include "gtkintl.h"
#include "gtkprivate.h"
#include "gtkwidgetprivate.h"
/**
* SECTION:gtktoolitem
@ -531,6 +531,8 @@ gtk_tool_item_size_allocate (GtkWidget *widget,
gtk_widget_size_allocate (child, &child_allocation);
}
_gtk_widget_set_simple_clip (widget, NULL);
}
gboolean