From d4bbdde503a6f696224cf5610637868273f2f7ed Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 5 May 2016 09:18:11 -0400 Subject: [PATCH] Let gdbus-codegen generate autocleanup definitions This used to be the hardcoded behavior, but it broke some other users, so it was made conditional and default off. --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index a805e3b8f..77e8e023d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -506,6 +506,7 @@ $(dbus_display_config_built_sources) : Makefile.am org.gnome.Mutter.DisplayConfi --interface-prefix org.gnome.Mutter \ --c-namespace MetaDBus \ --generate-c-code meta-dbus-display-config \ + --c-generate-autocleanup all \ $(srcdir)/org.gnome.Mutter.DisplayConfig.xml $(dbus_idle_built_sources) : Makefile.am org.gnome.Mutter.IdleMonitor.xml @@ -514,6 +515,7 @@ $(dbus_idle_built_sources) : Makefile.am org.gnome.Mutter.IdleMonitor.xml --c-namespace MetaDBus \ --generate-c-code meta-dbus-idle-monitor \ --c-generate-object-manager \ + --c-generate-autocleanup all \ $(srcdir)/org.gnome.Mutter.IdleMonitor.xml dbus_login1_built_sources = meta-dbus-login1.c meta-dbus-login1.h @@ -523,6 +525,7 @@ $(dbus_login1_built_sources) : Makefile.am org.freedesktop.login1.xml --interface-prefix org.freedesktop.login1 \ --c-namespace Login1 \ --generate-c-code meta-dbus-login1 \ + --c-generate-autocleanup all \ $(srcdir)/org.freedesktop.login1.xml .SECONDEXPANSION: