[gtk+] treeview: fix an uninitialised variable warning
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: fix an uninitialised variable warning
- Date: Tue, 20 Dec 2011 10:42:23 +0000 (UTC)
commit 13f570648831459f4643376fb6f8c522cc362be2
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Dec 20 11:41:35 2011 +0100
treeview: fix an uninitialised variable warning
gtk/gtktreeview.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 59774be..583195b 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -12922,6 +12922,8 @@ gtk_tree_view_real_collapse_row (GtkTreeView *tree_view,
cursor_changed = (node->children == tree_view->priv->cursor_tree)
|| _gtk_rbtree_contains (node->children, tree_view->priv->cursor_tree);
}
+ else
+ cursor_changed = FALSE;
if (gtk_tree_row_reference_valid (tree_view->priv->anchor))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]