]> err.no Git - systemd/commitdiff
build-sys: fix compatibility with vala 0.9
authorLennart Poettering <lennart@poettering.net>
Thu, 22 Jul 2010 00:21:42 +0000 (02:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 22 Jul 2010 00:21:42 +0000 (02:21 +0200)
configure.ac
src/systemadm.vala

index eef4391eeef92082f921a53c5341de1bfa623a0b..b06fc2f9e509bc61cffb97d7087ed1d50495ddd9 100644 (file)
@@ -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)
 
index 65a58b7162d5639b71e57ada9a0fc8eb4b563910..3610e2b8f42a31ff8fa8fb199341a2db0a6c7c3f 100644 (file)
@@ -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",