[gimp/metadata-browser] app: chain up last in gimp_container_tree_view_set_context()
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: chain up last in gimp_container_tree_view_set_context()
- Date: Wed, 12 Sep 2012 22:46:44 +0000 (UTC)
commit cd63212853995165ab6e9a59446ced64300d1cf5
Author: Michael Natterer <mitch gimp org>
Date: Mon Feb 6 01:33:01 2012 +0100
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.
app/widgets/gimpcontainertreeview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimpcontainertreeview.c b/app/widgets/gimpcontainertreeview.c
index e67129c..005eff4 100644
--- a/app/widgets/gimpcontainertreeview.c
+++ b/app/widgets/gimpcontainertreeview.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]