summarylogtreecommitdiffstats
path: root/ListStore.patch
blob: 5316dc719eba77b06b227a2dbf06b62a58b68810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
diff --git a/libdesktop-agnostic/ui-icon-chooser-dialog.vala b/libdesktop-agnostic/ui-icon-chooser-dialog.vala
index 604c976..8e065f5 100644
--- libdesktop-agnostic.bak/ui-icon-chooser-dialog.vala
+++ libdesktop-agnostic/ui-icon-chooser-dialog.vala
@@ -165,7 +165,7 @@ namespace DesktopAgnostic.UI
       {
         TreeIter iter;
         Value val;
-        var store = this._viewer.model as ListStore;
+        var store = this._viewer.model as Gtk.ListStore;
         store.get_iter (out iter, p);
         store.get_value (iter, Column.DATA, out val);
 
@@ -205,11 +205,11 @@ namespace DesktopAgnostic.UI
       return viewer;
     }
 
-    private ListStore
+    private Gtk.ListStore
     create_model ()
     {
       // icon, name, data
-      return new ListStore (Column.COUNT,
+      return new Gtk.ListStore (Column.COUNT,
                             typeof (Gdk.Pixbuf),
                             typeof (string),
                             typeof (string),
@@ -291,12 +291,12 @@ namespace DesktopAgnostic.UI
     private void
     on_folder_changed (FileChooser chooser)
     {
-      unowned ListStore model;
+      unowned Gtk.ListStore model;
       string uri;
       VFS.File directory;
       SList<VFS.File> children;
 
-      model = this._file_viewer.model as ListStore;
+      model = this._file_viewer.model as Gtk.ListStore;
       model.clear ();
 
       uri = chooser.get_uri ();
@@ -342,11 +342,11 @@ namespace DesktopAgnostic.UI
     private void
     on_icon_context_changed (ComboBox box)
     {
-      unowned ListStore model;
+      unowned Gtk.ListStore model;
       unowned IconTheme icon_theme;
       List<string> icon_list;
 
-      model = this._themed_viewer.model as ListStore;
+      model = this._themed_viewer.model as Gtk.ListStore;
       model.clear ();
 
       icon_theme = IconTheme.get_default ();