aboutsummaryrefslogtreecommitdiff
path: root/libmessaging-menu/Makefile.am
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-09-01 10:27:34 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-09-01 10:27:34 +0200
commit0a86676833595e0684bd1ba0dea18709fea74e7a (patch)
tree7230a7618554a3891ca649c00626542ef220d903 /libmessaging-menu/Makefile.am
parent998854d26580f3c9b001518cc7fcd283e41001f6 (diff)
downloadayatana-indicator-messages-0a86676833595e0684bd1ba0dea18709fea74e7a.tar.gz
ayatana-indicator-messages-0a86676833595e0684bd1ba0dea18709fea74e7a.tar.bz2
ayatana-indicator-messages-0a86676833595e0684bd1ba0dea18709fea74e7a.zip
libmessaging-menu: make generated .gir compatible with vala
In particular, mamke sure the <c:namespace> and <package> tags are included in the .gir. Fixes launchpad bug #1044096, thanks Jim!
Diffstat (limited to 'libmessaging-menu/Makefile.am')
-rw-r--r--libmessaging-menu/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmessaging-menu/Makefile.am b/libmessaging-menu/Makefile.am
index ef37700..7a6ee31 100644
--- a/libmessaging-menu/Makefile.am
+++ b/libmessaging-menu/Makefile.am
@@ -50,8 +50,10 @@ MessagingMenu-1.0.gir: libmessaging-menu.la
MessagingMenu_1_0_gir_NAMESPACE = MessagingMenu
MessagingMenu_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0
MessagingMenu_1_0_gir_CFLAGS = $(INCLUDES) $(GIO_CFLAGS)
+MessagingMenu_1_0_gir_SCANNERFLAGS = --c-include="messaging-menu.h"
MessagingMenu_1_0_gir_LIBS = libmessaging-menu.la
MessagingMenu_1_0_gir_FILES = messaging-menu.c messaging-menu.h
+MessagingMenu_1_0_gir_EXPORT_PACKAGES = messaging-menu
INTROSPECTION_GIRS += MessagingMenu-1.0.gir
girdir = $(datadir)/gir-1.0