[pygobject/pygobject-2-28] [gi-demos] fixed use of tree_iter_get



commit 1944349cc59ddaf4fd7308ffce10b521c885c88b
Author: John (J5) Palmieri <johnp redhat com>
Date:   Mon Feb 14 15:05:44 2011 -0500

    [gi-demos] fixed use of tree_iter_get

 demos/gtk-demo/gtk-demo.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/gtk-demo.py b/demos/gtk-demo/gtk-demo.py
index 382d2c9..74c0e69 100755
--- a/demos/gtk-demo/gtk-demo.py
+++ b/demos/gtk-demo/gtk-demo.py
@@ -213,7 +213,7 @@ class GtkDemoApp(object):
         self.source_buffer.insert(end, code)
 
     def row_activated_cb(self, view, path, col, store):
-        (success, treeiter) = store.get_iter(path)
+        treeiter = store.get_iter(path)
         demo = store.get_value(treeiter, 1)
         demo.module.main(self)
 



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