build-sys: fix compatibility with vala 0.9
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user