[rygel] ui: Remove #if
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] ui: Remove #if
- Date: Mon, 22 Oct 2018 20:07:54 +0000 (UTC)
commit 4583821d32d558fcbeb2d79128b7c24f4ff97ff9
Author: Jens Georg <mail jensge org>
Date: Mon Oct 22 16:54:27 2018 +0200
ui: Remove #if
src/ui/rygel-media-pref-section.vala | 4 ----
src/ui/rygel-network-pref-section.vala | 8 --------
2 files changed, 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
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]