summaryrefslogtreecommitdiff
path: root/examples/extensions
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-01-14 14:16:04 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-01-14 14:16:04 +0000
commita6560ba407f074b5fb8b10a0eb8bb65500d5a729 (patch)
tree357cec93a6af541df6e3456e652dce86851011a0 /examples/extensions
parent43f87b16749e4aed1d02061f26d3e4efca865f55 (diff)
downloadtelepathy-glib-a6560ba407f074b5fb8b10a0eb8bb65500d5a729.tar.gz
Set EXAMPLE_IFACE_QUARK as prefix for interface quark generation in extension example
20080114141604-53eee-0d66367abf40ae985c1053eb4425babc1ea77826.gz
Diffstat (limited to 'examples/extensions')
-rw-r--r--examples/extensions/Makefile.am1
-rw-r--r--examples/extensions/extensions-cli.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/examples/extensions/Makefile.am b/examples/extensions/Makefile.am
index e85c626d4..9c77b4330 100644
--- a/examples/extensions/Makefile.am
+++ b/examples/extensions/Makefile.am
@@ -127,6 +127,7 @@ _gen/cli-connection-body.h _gen/cli-connection.h: _gen/connection.xml \
--group=connection \
--subclass=TpConnection \
--subclass-assert=TP_IS_CONNECTION \
+ --iface-quark-prefix=EXAMPLE_IFACE_QUARK \
$< Example_Cli _gen/cli-connection
_gen/svc-connection.c _gen/svc-connection.h: _gen/connection.xml \
diff --git a/examples/extensions/extensions-cli.c b/examples/extensions/extensions-cli.c
index e9da39042..2096e4f5b 100644
--- a/examples/extensions/extensions-cli.c
+++ b/examples/extensions/extensions-cli.c
@@ -5,10 +5,6 @@
#include "_gen/signals-marshal.h"
-/* FIXME: evil hack */
-#define TP_IFACE_QUARK_CONNECTION_INTERFACE_HATS \
- EXAMPLE_IFACE_QUARK_CONNECTION_INTERFACE_HATS
-
/* include auto-generated stubs for client-specific code */
#include "_gen/cli-connection-body.h"
#include "_gen/register-dbus-glib-marshallers-body.h"