[gnome-builder] tree: use active filter model when row is activated
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] tree: use active filter model when row is activated
- Date: Wed, 2 Sep 2015 18:48:23 +0000 (UTC)
commit 268c4519367bd44b3c9471510ad21ca0cd835b8b
Author: Christian Hergert <christian hergert me>
Date: Wed Sep 2 11:47:01 2015 -0700
tree: use active filter model when row is activated
Fixes an issue where we dispatch the wrongly selected node. Affected the
symbol tree currently.
src/tree/gb-tree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tree/gb-tree.c b/src/tree/gb-tree.c
index 5f794ab..60dc1f7 100644
--- a/src/tree/gb-tree.c
+++ b/src/tree/gb-tree.c
@@ -611,7 +611,7 @@ gb_tree_row_activated (GtkTreeView *tree_view,
g_return_if_fail (GB_IS_TREE (self));
g_return_if_fail (path != NULL);
- model = GTK_TREE_MODEL (priv->store);
+ model = gtk_tree_view_get_model (tree_view);
if (gtk_tree_model_get_iter (model, &iter, path))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]