From: Lennart Poettering Date: Thu, 22 Jul 2010 00:21:42 +0000 (+0200) Subject: build-sys: fix compatibility with vala 0.9 X-Git-Tag: v4~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3d91d10c9ca3782c5936c630e87730e3bf9c32d;p=systemd build-sys: fix compatibility with vala 0.9 --- diff --git a/configure.ac b/configure.ac index eef4391e..b06fc2f9 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 65a58b71..3610e2b8 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",