[gir-repository] More annotations for Notify.



commit 45fa2cb9c0d7acb119834f74b7dc86b9aa3226f6
Author: Aurélien Gâteau <aurelien gateau canonical com>
Date:   Tue Apr 21 09:17:05 2009 +0200

    More annotations for Notify.
---
 gir/Makefile.am     |    5 ++++-
 gir/Notify-custom.c |   28 ++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diff --git a/gir/Makefile.am b/gir/Makefile.am
index 4d5c4a6..7b38935 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -351,7 +351,7 @@ EXTRA_DIST += WebKit-1.0.xpath
 # libnotify
 if BUILD_NOTIFY
 NOTIFY_INCLUDEDIR=`pkg-config --variable=includedir libnotify`
-Notify-0.4.gir: $(INTROSPECTION_SCANNER) Gtk-2.0.gir
+Notify-0.4.gir: $(INTROSPECTION_SCANNER) Gtk-2.0.gir Notify-custom.c
 	$(INTROSPECTION_SCANNER) -v --namespace Notify --nsversion=0.4 \
 	    --add-include-path=$(srcdir) --add-include-path=. \
              --include=Gtk-2.0 \
@@ -360,6 +360,9 @@ Notify-0.4.gir: $(INTROSPECTION_SCANNER) Gtk-2.0.gir
              --pkg gtk+-2.0 \
              --pkg libnotify \
              --output $@ \
+             --c-include=libnotify/notify.h \
+             --c-include=libnotify/notification.h \
+             $(srcdir)/Notify-custom.c \
              $(NOTIFY_INCLUDEDIR)/libnotify/*.h
 BUILT_GIRSOURCES += Notify-0.4.gir
 endif
diff --git a/gir/Notify-custom.c b/gir/Notify-custom.c
new file mode 100644
index 0000000..0db2a5e
--- /dev/null
+++ b/gir/Notify-custom.c
@@ -0,0 +1,28 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
+
+/**
+ * notify_get_server_caps:
+ *
+ * Returns: (element-type utf8) (transfer full):
+ */
+
+/**
+ * notify_get_server_info:
+ * @ret_name: (out) (transfer full):
+ * @ret_vendor: (out) (transfer full):
+ * @ret_version: (out) (transfer full):
+ * @ret_spec_version: (out) (transfer full):
+ **/
+
+/**
+ * notify_init:
+ * @app_name: (type utf8) (direction in):
+ **/
+
+/**
+ * notify_notification_new:
+ * @summary:
+ * @body:
+ * @icon:
+ * @attach: (allow-none):
+ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]