[rygel] ui: Use Gtk.ListStore explicitly
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] ui: Use Gtk.ListStore explicitly
- Date: Mon, 16 Mar 2015 22:14:21 +0000 (UTC)
commit 03ef1a77979ad8c73d0875480ce4941c62de27d0
Author: Jens Georg <mail jensge org>
Date: Mon Mar 16 23:12:58 2015 +0100
ui: Use Gtk.ListStore explicitly
Signed-off-by: Jens Georg <mail jensge org>
src/ui/rygel-media-pref-section.vala | 4 ++--
src/ui/rygel-network-pref-section.vala | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/ui/rygel-media-pref-section.vala b/src/ui/rygel-media-pref-section.vala
index 5f09f2f..0bab23b 100644
--- a/src/ui/rygel-media-pref-section.vala
+++ b/src/ui/rygel-media-pref-section.vala
@@ -36,7 +36,7 @@ public class Rygel.MediaPrefSection : PreferencesSection {
private ArrayList<Widget> widgets; // All widgets in this section
private TreeView treeview;
- private ListStore liststore;
+ private Gtk.ListStore liststore;
private TreeSelection tree_selection;
private FileChooserDialog dialog;
private ToolButton remove_button;
@@ -49,7 +49,7 @@ public class Rygel.MediaPrefSection : PreferencesSection {
this.treeview = (TreeView) builder.get_object (URIS_TEXTVIEW);
assert (this.treeview != null);
- this.liststore = (ListStore) builder.get_object (URIS_LISTSTORE);
+ this.liststore = (Gtk.ListStore) builder.get_object (URIS_LISTSTORE);
assert (this.liststore != null);
this.tree_selection = builder.get_object (TREE_SELECTION)
as TreeSelection;
diff --git a/src/ui/rygel-network-pref-section.vala b/src/ui/rygel-network-pref-section.vala
index b80924f..d3b7584 100644
--- a/src/ui/rygel-network-pref-section.vala
+++ b/src/ui/rygel-network-pref-section.vala
@@ -30,8 +30,8 @@ public class Rygel.NetworkPrefSection : PreferencesSection {
const string TREEVIEW = "networks-treeview";
const string TREE_SELECTION = "networks-tree-selection";
- private ListStore iface_store;
- private ListStore networks_store;
+ private Gtk.ListStore iface_store;
+ private Gtk.ListStore networks_store;
private TreeView treeview;
private TreeSelection tree_selection;
private Grid grid;
@@ -43,10 +43,10 @@ public class Rygel.NetworkPrefSection : PreferencesSection {
WritableUserConfig config) throws Error {
base (config, "general");
- this.iface_store = builder.get_object (IFACE_STORE) as ListStore;
+ this.iface_store = builder.get_object (IFACE_STORE) as Gtk.ListStore;
assert (this.iface_store != null);
- this.networks_store = builder.get_object (NETWORKS_STORE) as ListStore;
+ this.networks_store = builder.get_object (NETWORKS_STORE) as Gtk.ListStore;
assert (this.networks_store != null);
this.tree_selection = builder.get_object (TREE_SELECTION) as
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]