mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-19 06:14:03 +00:00
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:
parent
3c240bcb3c
commit
947ea55a07
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue