[Xfce4-commits] <xfce4-panel:devel> Exclude some generated code in the wrapper and panel.

Nick Schermer noreply at xfce.org
Wed Nov 18 10:46:05 CET 2009


Updating branch refs/heads/devel
         to 93fff9059571e044651b5492fa5548778b319d98 (commit)
       from 8b880ca37256e0bfa83c318bf2f4de1501603978 (commit)

commit 93fff9059571e044651b5492fa5548778b319d98
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Nov 17 19:00:53 2009 +0100

    Exclude some generated code in the wrapper and panel.

 panel/panel-dbus-client.c          |    2 ++
 panel/panel-dbus-service-infos.xml |    1 -
 wrapper/main.c                     |    2 ++
 3 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/panel/panel-dbus-client.c b/panel/panel-dbus-client.c
index 4b9c6d4..81ffa0b 100644
--- a/panel/panel-dbus-client.c
+++ b/panel/panel-dbus-client.c
@@ -29,6 +29,8 @@
 
 #include <panel/panel-dbus-client.h>
 #include <panel/panel-dbus-service.h>
+
+#define DBUS_GLIB_CLIENT_WRAPPERS_org_xfce_PanelPlugin /* hack to exclude the wrapper client code */
 #include <panel/panel-dbus-client-infos.h>
 
 
diff --git a/panel/panel-dbus-service-infos.xml b/panel/panel-dbus-service-infos.xml
index 275ad87..f9b2d77 100644
--- a/panel/panel-dbus-service-infos.xml
+++ b/panel/panel-dbus-service-infos.xml
@@ -64,7 +64,6 @@
     </method>
   </interface>
 
-
   <!--
     org.xfce.PanelPlugin
 
diff --git a/wrapper/main.c b/wrapper/main.c
index 5de3622..36df4bc 100644
--- a/wrapper/main.c
+++ b/wrapper/main.c
@@ -47,6 +47,8 @@
 #include <wrapper/wrapper-plug.h>
 #include <wrapper/wrapper-marshal.h>
 #include <wrapper/wrapper-module.h>
+
+#define DBUS_GLIB_CLIENT_WRAPPERS_org_xfce_Panel /* hack to exclude the panel client code */
 #include <wrapper/wrapper-dbus-client-infos.h>
 
 



More information about the Xfce4-commits mailing list