summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-22 02:21:42 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-22 02:21:42 +0200
commitd3d91d10c9ca3782c5936c630e87730e3bf9c32d (patch)
treeaf7f174baca400cfc265626379dc9d2516f0600f
parent50f2a90dae31943c99df7369008f0240a79d1dc0 (diff)
build-sys: fix compatibility with vala 0.9
-rw-r--r--configure.ac2
-rw-r--r--src/systemadm.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index eef4391eee..b06fc2f9e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,7 +183,7 @@ if test "x$enable_gtk" != "xno"; then
fi
AM_CONDITIONAL(HAVE_GTK, [test "$have_gtk" = "yes"])
-AM_PROG_VALAC([0.8])
+AM_PROG_VALAC([0.9])
AC_SUBST(VAPIDIR)
AM_CONDITIONAL(HAVE_VALAC, test x"$VALAC" != x)
diff --git a/src/systemadm.vala b/src/systemadm.vala
index 65a58b7162..3610e2b8f4 100644
--- a/src/systemadm.vala
+++ b/src/systemadm.vala
@@ -297,7 +297,7 @@ public class MainWindow : Window {
bbox.pack_start(cancel_button, false, true, 0);
- bus = Bus.get(session ? BusType.SESSION : BusType.SYSTEM);
+ bus = DBus.Bus.get(session ? DBus.BusType.SESSION : DBus.BusType.SYSTEM);
manager = bus.get_object(
"org.freedesktop.systemd1",