aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-17 14:22:11 -0500
committerTed Gould <ted@canonical.com>2009-08-17 14:22:11 -0500
commita2f9b2b061063f4878573705ddf356b7b5cbd4cb (patch)
treefe27aee88aef828f8f0eaf08250c031ed45529f8 /src
parentb632849aefb2292231765c0218db36b4a6842e9a (diff)
downloadayatana-indicator-session-a2f9b2b061063f4878573705ddf356b7b5cbd4cb.tar.gz
ayatana-indicator-session-a2f9b2b061063f4878573705ddf356b7b5cbd4cb.tar.bz2
ayatana-indicator-session-a2f9b2b061063f4878573705ddf356b7b5cbd4cb.zip
Setting up a list of marshallers for the pidgin functionality
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am21
-rw-r--r--src/status-provider-pidgin.c1
-rw-r--r--src/status-provider-pidgin.list1
3 files changed, 20 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index bc3c9d9..736fd61 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,7 +28,9 @@ indicator_status_service_SOURCES = \
status-provider.h \
status-provider.c \
status-provider-pidgin.h \
- status-provider-pidgin.c
+ status-provider-pidgin.c \
+ status-provider-pidgin-marshal.h \
+ status-provider-pidgin-marshal.c
indicator_status_service_CFLAGS = $(STATUSSERVICE_CFLAGS) -Wall -Werror
indicator_status_service_LDADD = $(STATUSSERVICE_LIBS)
@@ -46,6 +48,16 @@ status-service-server.h: $(srcdir)/status-service.xml
--output=status-service-server.h \
$(srcdir)/status-service.xml
+status-provider-pidgin-marshal.h: $(srcdir)/status-provider-pidgin.list
+ glib-genmarshal --header \
+ --prefix=_status_provider_pidgin_marshal $(srcdir)/status-provider-pidgin.list \
+ > status-provider-pidgin-marshal.h
+
+status-provider-pidgin-marshal.c: $(srcdir)/status-provider-pidgin.list
+ glib-genmarshal --body \
+ --prefix=_status_provider_pidgin_marshal $(srcdir)/status-provider-pidgin.list \
+ > status-provider-pidgin-marshal.c
+
###############
# Users Stuff
###############
@@ -68,10 +80,13 @@ indicator_session_service_LDADD = $(SESSIONSERVICE_LIBS)
BUILT_SOURCES = \
status-service-client.h \
- status-service-server.h
+ status-service-server.h \
+ status-provider-pidgin-marshal.h \
+ status-provider-pidgin-marshal.c
EXTRA_DIST = \
- status-service.xml
+ status-service.xml \
+ status-provider-pidgin.list
CLEANFILES = \
$(BUILT_SOURCES)
diff --git a/src/status-provider-pidgin.c b/src/status-provider-pidgin.c
index ab71755..1d09ec8 100644
--- a/src/status-provider-pidgin.c
+++ b/src/status-provider-pidgin.c
@@ -26,6 +26,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "status-provider.h"
#include "status-provider-pidgin.h"
+#include "status-provider-pidgin-marshal.h"
#include <dbus/dbus-glib.h>
diff --git a/src/status-provider-pidgin.list b/src/status-provider-pidgin.list
new file mode 100644
index 0000000..1f953dd
--- /dev/null
+++ b/src/status-provider-pidgin.list
@@ -0,0 +1 @@
+VOID:INT,INT