app: chain up last in gimp_container_tree_view_set_context()

so all the view renderers already have the right context when the
parent interface code selects the right item, which in turn requires
the context to be already set on the renderers. Fixes warnings when
dragging dockables around.
This commit is contained in:
Michael Natterer 2012-02-06 01:33:01 +01:00
parent 3c240bcb3c
commit 947ea55a07

View file

@ -587,11 +587,11 @@ gimp_container_tree_view_set_context (GimpContainerView *view,
{
GimpContainerTreeView *tree_view = GIMP_CONTAINER_TREE_VIEW (view);
parent_view_iface->set_context (view, context);
if (tree_view->model)
gimp_container_tree_store_set_context (GIMP_CONTAINER_TREE_STORE (tree_view->model),
context);
parent_view_iface->set_context (view, context);
}
static void