diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-02-06 14:23:40 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-02-06 14:23:40 -0500 |
commit | 27f6fff96ea20844cbb17300e8e4bb0fe093b3da (patch) | |
tree | 9ee0f99d5bbb1346322ea00cedd44483b6a184d3 | |
parent | 0ad55754c73c6bf3322b5f5aaa85a60296452e9f (diff) | |
download | dconf-27f6fff96ea20844cbb17300e8e4bb0fe093b3da.tar.gz |
editor: drop Vala 0.12 compatibility code
We had some '#if VALA_0_14' guards for compatibility with older Vala
versions. We're a far way from being able to build with valac 0.12, so
drop those.
-rw-r--r-- | editor/dconf-model.vala | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/editor/dconf-model.vala b/editor/dconf-model.vala index 401d3c6..46afa3e 100644 --- a/editor/dconf-model.vala +++ b/editor/dconf-model.vala @@ -349,11 +349,7 @@ public class KeyModel: GLib.Object, Gtk.TreeModel return iter_nth_child(out iter, null, path.get_indices()[0]); } -#if VALA_0_14 public Gtk.TreePath? get_path(Gtk.TreeIter iter) -#else - public Gtk.TreePath get_path(Gtk.TreeIter iter) -#endif { var path = new Gtk.TreePath(); path.append_index(get_key(iter).index); @@ -491,11 +487,7 @@ public class EnumModel: GLib.Object, Gtk.TreeModel return iter_nth_child(out iter, null, path.get_indices()[0]); } -#if VALA_0_14 public Gtk.TreePath? get_path(Gtk.TreeIter iter) -#else - public Gtk.TreePath get_path(Gtk.TreeIter iter) -#endif { var path = new Gtk.TreePath(); path.append_index((int)get_enum_value(iter).index); @@ -672,11 +664,7 @@ public class SettingsModel: GLib.Object, Gtk.TreeModel return true; } -#if VALA_0_14 public Gtk.TreePath? get_path(Gtk.TreeIter iter) -#else - public Gtk.TreePath get_path(Gtk.TreeIter iter) -#endif { var path = new Gtk.TreePath(); for (var d = get_directory(iter); d != root; d = d.parent) |