[glade3] * gladeui/glade-inspector.c: Fixed to not access the treeview from set_project() (since we do it



commit baa913edbf9788a4984e3eac4349054b1f381bba
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Wed Jan 5 02:09:28 2011 +0900

    	* gladeui/glade-inspector.c: Fixed to not access the treeview from set_project()
    	  (since we do it in expose and the view gets destroyed without us unsetting the pointer).

 ChangeLog                 |    3 +++
 gladeui/glade-inspector.c |    2 --
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 66bac01..ecbeda1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,9 @@
 
 	* gladeui/glade-design-view.c: Made it a no-show-all widget.
 
+	* gladeui/glade-inspector.c: Fixed to not access the treeview from set_project()
+	  (since we do it in expose and the view gets destroyed without us unsetting the pointer).
+
 2011-01-03  Tristan Van Berkom <tristanvb openismus com>
 
 	* gladeui/glade-app.[ch]:
diff --git a/gladeui/glade-inspector.c b/gladeui/glade-inspector.c
index b817df7..8789bbc 100644
--- a/gladeui/glade-inspector.c
+++ b/gladeui/glade-inspector.c
@@ -816,8 +816,6 @@ glade_inspector_set_project (GladeInspector * inspector, GladeProject * project)
 
   update_project_completion (project, NULL, inspector);
 
-  gtk_tree_view_expand_all (GTK_TREE_VIEW (inspector->priv->view));
-
   g_object_notify (G_OBJECT (inspector), "project");
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]