]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix Open VM Tools build.
authorVMware, Inc <>
Tue, 29 Mar 2011 20:16:43 +0000 (13:16 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Tue, 29 Mar 2011 20:16:43 +0000 (13:16 -0700)
Forgot to incorporate recent GLib signals change (CLN 1338989) into
Open VM Tools build.  (,_,)

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/services/plugins/desktopEvents/Makefile.am
open-vm-tools/services/plugins/desktopEvents/sessionMgrSignals.gm [new file with mode: 0644]

index 85d1673adf55418931567fde6038544d9d3dba90..156c39f46945166a173b3c900d64e671160f5e1e 100644 (file)
@@ -39,4 +39,24 @@ libdesktopEvents_la_SOURCES += xioError.c
 if HAVE_XSM
 libdesktopEvents_la_LIBADD += @XSM_LIBS@
 libdesktopEvents_la_SOURCES += sessionMgr.c
+libdesktopEvents_la_SOURCES += sessionMgrSignals.c
+
+BUILT_SOURCES =
+BUILT_SOURCES += sessionMgrSignals.c
+BUILT_SOURCES += sessionMgrSignals.h
+
+CLEANFILES =
+CLEANFILES += sessionMgrSignals.c
+CLEANFILES += sessionMgrSignals.h
+
+EXTRA_DIST =
+EXTRA_DIST += sessionMgrSignals.gm
+
+sessionMgrSignals.c: $(top_srcdir)/services/plugins/desktopEvents/sessionMgrSignals.gm
+       glib-genmarshal --body $(top_srcdir)/services/plugins/desktopEvents/sessionMgrSignals.gm > \
+          $@ || (rm -f $@ && exit 1)
+
+sessionMgrSignals.h: $(top_srcdir)/services/plugins/desktopEvents/sessionMgrSignals.gm
+       glib-genmarshal --header $(top_srcdir)/services/plugins/desktopEvents/sessionMgrSignals.gm > \
+          $@ || (rm -f $@ && exit 1)
 endif
diff --git a/open-vm-tools/services/plugins/desktopEvents/sessionMgrSignals.gm b/open-vm-tools/services/plugins/desktopEvents/sessionMgrSignals.gm
new file mode 100644 (file)
index 0000000..ddddaaa
--- /dev/null
@@ -0,0 +1,29 @@
+##########################################################
+# Copyright (C) 2011 VMware, Inc. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation version 2.1 and no later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.  See the Lesser GNU General Public
+# License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA.
+#
+##########################################################
+
+##
+# @file sessionMgrSignals.gm
+#
+# Defines the custom GClosure marshal functions for the desktopEvents::sessionMgr
+# signals.
+#
+# @see desktopEvents.h
+#
+
+# XSM SaveYourself signal.
+VOID:POINTER,INT,BOOLEAN,INT,BOOLEAN