From: Jürg Billeter Date: Fri, 20 Aug 2010 11:52:34 +0000 (+0200) Subject: Deprecate use of D-Bus GLib X-Git-Tag: 0.9.8~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59da4e8d8dd2c15a20f7123f18c5d1bc78024069;p=thirdparty%2Fvala.git Deprecate use of D-Bus GLib GDBus should be used instead. --- diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala index 6570d81a9..36364bd0e 100644 --- a/compiler/valacompiler.vala +++ b/compiler/valacompiler.vala @@ -331,6 +331,9 @@ class Vala.Compiler { if (context.profile == Profile.GOBJECT) { if (context.has_package ("dbus-glib-1")) { + if (!context.deprecated) { + Report.warning (null, "D-Bus GLib is deprecated, use GDBus"); + } context.codegen = new DBusServerModule (); } else { context.codegen = new GDBusServerModule ();