Commit db372382 authored by Cosimo Cecchi's avatar Cosimo Cecchi

toolitem: set clip on allocation

So that widgets that are children of tool items can render their shadows
too.
parent 356e02fc
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment