[gir-repository] Update for new scanner api



commit 625348bc69269eea7c000eb37aa44fe013318064
Author: Johan Dahlin <johan gnome org>
Date:   Thu Sep 2 09:28:47 2010 -0300

    Update for new scanner api

 gir/Gtk-custom.c  |    2 +-
 gir/Makefile.am   |   10 ++++------
 gir/Soup-custom.c |    2 +-
 3 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/gir/Gtk-custom.c b/gir/Gtk-custom.c
index 91eb2fb..f74314c 100644
--- a/gir/Gtk-custom.c
+++ b/gir/Gtk-custom.c
@@ -1180,7 +1180,7 @@ gtk_dialog_get_vbox(GtkDialog *dialog)
 /**
  * gtk_radio_menu_item_get_group:
  *
- * Return value: (element-type RadioMenuItem) (transfer none):
+ * Return value: (element-type GtkRadioMenuItem) (transfer none):
  */
 
 /**
diff --git a/gir/Makefile.am b/gir/Makefile.am
index ac3b82c..6b041d4 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -206,7 +206,7 @@ endif
 if BUILD_GNIO
 GNIO_INCLUDEDIR=`pkg-config --variable=includedir gnio`/gnio
 Gnio-1.0.gir: $(INTROSPECTION_SCANNER)
-	$(INTROSPECTION_SCANNER) -v --strip-prefix=G \
+	$(INTROSPECTION_SCANNER) -v \
 	--namespace=Gnio --nsversion=.1 \
 	--add-include-path=$(srcdir) --add-include-path=. \
 	--include=Gio-2.0 \
@@ -264,7 +264,8 @@ if BUILD_GTK
 lib_LTLIBRARIES += libgirepo-GdkPixbuf-custom.la
 GDKPIXBUF_INCLUDEDIR=`pkg-config --variable=includedir gdk-pixbuf-2.0`/gtk-2.0
 GdkPixbuf-2.0.gir: $(INTROSPECTION_SCANNER) libgirepo-GdkPixbuf-custom.la
-	$(INTROSPECTION_SCANNER) -v --namespace GdkPixbuf --nsversion=2.0 --strip-prefix=Gdk\
+	$(INTROSPECTION_SCANNER) -v --namespace GdkPixbuf --nsversion=2.0 \
+	    --warn-all --identifier-prefix=Gdk --symbol-prefix=gdk \
 	    --add-include-path=$(srcdir) --add-include-path=. \
              --include=Gio-2.0 \
 	     --library=gdk_pixbuf-2.0 \
@@ -412,7 +413,7 @@ endif
 if BUILD_GTKSOURCEVIEW
 GTKSOURCEVIEW_INCLUDEDIR=`pkg-config --variable=includedir gtksourceview-2.0`/gtksourceview-2.0
 GtkSource-2.2.gir: $(GTKSOURCE_GIR_DEPS)
-	$(INTROSPECTION_SCANNER) -v --namespace GtkSource --strip-prefix=Gtk --nsversion=2.2 \
+	$(INTROSPECTION_SCANNER) -v --namespace GtkSource --nsversion=2.2 \
 	    --add-include-path=$(srcdir) --add-include-path=. \
              --include=Gtk-2.0 \
 	     --library=gtksourceview-2.0 \
@@ -446,7 +447,6 @@ GOOCANVAS_INCLUDEDIR=`pkg-config --variable=includedir goocanvas`
 GooCanvas-0.10.gir: $(GOOCANVAS_GIR_DEPS)
 	$(INTROSPECTION_SCANNER) -v --namespace GooCanvas --nsversion=0.10 \
 	    --add-include-path=$(srcdir) --add-include-path=. \
-	     --strip-prefix=Goo \
              --include=Gtk-2.0 \
 	     --library=goocanvas \
 	     --libtool="$(LIBTOOL)" \
@@ -782,7 +782,6 @@ MISSIONCONTROL_INCLUDEDIR=`pkg-config --variable=includedir libmissioncontrol`
 MissionControl.gir: $(INTROSPECTION_SCANNER)
 	$(INTROSPECTION_SCANNER) -v --namespace MissionControl \
 	    --add-include-path=$(srcdir) --add-include-path=. \
-	     --strip-prefix=mc \
              --include=LibTelepathy \
 	     --library=missioncontrol-client \
 	     --libtool="$(LIBTOOL)" \
@@ -829,7 +828,6 @@ if BUILD_AVAHI
 AVAHI_INCLUDEDIR=`pkg-config --variable=includedir avahi-gobject`/avahi-gobject
 Avahi-0.6.gir: AvahiCore-0.6.gir $(INTROSPECTION_SCANNER)
 	$(INTROSPECTION_SCANNER) -v --namespace Avahi --nsversion=0.6 \
-	     --strip-prefix=Ga \
 	     --add-include-path=$(srcdir) --add-include-path=. \
              --include=AvahiCore-0.6 \
              --include=GObject-2.0 \
diff --git a/gir/Soup-custom.c b/gir/Soup-custom.c
index adbf727..f7b33f6 100644
--- a/gir/Soup-custom.c
+++ b/gir/Soup-custom.c
@@ -177,7 +177,7 @@
 
 /**
  * soup_message_body_append:
- * @data: (array length=length) (element-type uint8):
+ * @data: (array length=length) (element-type guint8):
  * @length:
  *
  **/



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