[gir-repository] More annotations for GdkPixbuf.



commit 66fea4d5628c9bd50a34655ae259397e91897dcd
Author: Aurélien Gâteau <aurelien gateau canonical com>
Date:   Tue Apr 21 09:22:23 2009 +0200

    More annotations for GdkPixbuf.
---
 gir/GdkPixbuf-custom.c |   11 +++++++++++
 gir/Makefile.am        |    3 ++-
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/gir/GdkPixbuf-custom.c b/gir/GdkPixbuf-custom.c
new file mode 100644
index 0000000..4919515
--- /dev/null
+++ b/gir/GdkPixbuf-custom.c
@@ -0,0 +1,11 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
+
+/**
+ * gdk_pixbuf_format_get_extensions:
+ * Returns: (array zero-terminated=1) (transfer full):
+ */
+
+/**
+ * gdk_pixbuf_format_get_mime_types:
+ * Returns: (array zero-terminated=1) (transfer full):
+ */
diff --git a/gir/Makefile.am b/gir/Makefile.am
index 7b38935..b937fca 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -246,7 +246,7 @@ libgirepo_Gtk_custom_la_SOURCES =	\
 
 if BUILD_GTK
 GDKPIXBUF_INCLUDEDIR=`pkg-config --variable=includedir gdk-pixbuf-2.0`/gtk-2.0
-GdkPixbuf-2.0.gir: $(INTROSPECTION_SCANNER)
+GdkPixbuf-2.0.gir: $(INTROSPECTION_SCANNER) GdkPixbuf-custom.c
 	$(INTROSPECTION_SCANNER) -v --namespace GdkPixbuf --nsversion=2.0 --strip-prefix=Gdk\
 	    --add-include-path=$(srcdir) --add-include-path=. \
              --include=Gio-2.0 \
@@ -255,6 +255,7 @@ GdkPixbuf-2.0.gir: $(INTROSPECTION_SCANNER)
              --output $@ \
              --pkg gobject-2.0 \
              --pkg gio-2.0 \
+             $(srcdir)/GdkPixbuf-custom.c \
              $(GDKPIXBUF_INCLUDEDIR)/gdk-pixbuf/*.h
 BUILT_GIRSOURCES += GdkPixbuf-2.0.gir
 XPATH_TESTS += GdkPixbuf-2.0.xpath



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