From e11a07d51e03f51cca74701663566c4e857c4762 Mon Sep 17 00:00:00 2001 From: Victor Poluceno Date: Sat, 13 Jun 2009 20:09:38 -0300 Subject: [PATCH] Put python binding api changes in python demos --- bindings/python/demos/launcher-gtk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/demos/launcher-gtk.py b/bindings/python/demos/launcher-gtk.py index 6728eed..821acbe 100755 --- a/bindings/python/demos/launcher-gtk.py +++ b/bindings/python/demos/launcher-gtk.py @@ -42,9 +42,9 @@ class LauncherGTK: bbox.add(button) combo = gtk.combo_box_new_text() - self.map_source_factory = champlain.map_source_factory_get_default() + self.map_source_factory = champlain.map_source_factory_dup_default() liststore = gtk.ListStore(str, str) - for source in self.map_source_factory.get_list(): + for source in self.map_source_factory.dup_list(): liststore.append([source["id"], source["name"]]) combo.append_text(source["name"]) combo.set_model(liststore) -- 2.39.5