summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2018-10-22 16:54:27 +0200
committerJens Georg <mail@jensge.org>2018-10-22 16:57:19 +0200
commit4583821d32d558fcbeb2d79128b7c24f4ff97ff9 (patch)
tree1e8f813ed49b4fb370e676ede29a58b9d3a36fd4
parent5eacdaef5d6f0d3534e9fecb1047788e565055da (diff)
downloadrygel-4583821d32d558fcbeb2d79128b7c24f4ff97ff9.tar.gz
ui: Remove #if
-rw-r--r--src/ui/rygel-media-pref-section.vala4
-rw-r--r--src/ui/rygel-network-pref-section.vala8
2 files changed, 0 insertions, 12 deletions
diff --git a/src/ui/rygel-media-pref-section.vala b/src/ui/rygel-media-pref-section.vala
index 1b283cbf..2aa9971c 100644
--- a/src/ui/rygel-media-pref-section.vala
+++ b/src/ui/rygel-media-pref-section.vala
@@ -152,11 +152,7 @@ public class Rygel.MediaPrefSection : PreferencesSection {
var path = row_ref.get_path ();
this.liststore.get_iter (out iter, path);
-#if VALA_0_36
this.liststore.remove (ref iter);
-#else
- this.liststore.remove (iter);
-#endif
}
}
diff --git a/src/ui/rygel-network-pref-section.vala b/src/ui/rygel-network-pref-section.vala
index 3e32d032..c7594e76 100644
--- a/src/ui/rygel-network-pref-section.vala
+++ b/src/ui/rygel-network-pref-section.vala
@@ -137,11 +137,7 @@ public class Rygel.NetworkPrefSection : PreferencesSection {
TreeIter iter;
if (this.find_interface (context.interface, out iter)) {
-#if VALA_0_36
this.iface_store.remove (ref iter);
-#else
- this.iface_store.remove (iter);
-#endif
}
}
@@ -162,11 +158,7 @@ public class Rygel.NetworkPrefSection : PreferencesSection {
var path = row_ref.get_path ();
this.networks_store.get_iter (out iter, path);
-#if VALA_0_36
this.networks_store.remove (ref iter);
-#else
- this.networks_store.remove (iter);
-#endif
}
}