gir-repository r288 - trunk/gir



Author: johan
Date: Wed Feb  4 14:10:53 2009
New Revision: 288
URL: http://svn.gnome.org/viewvc/gir-repository?rev=288&view=rev

Log:
Forcefully rename the enum type in the dbus gir to have the right name

Modified:
   trunk/gir/Makefile.am
   trunk/gir/dbus.h

Modified: trunk/gir/Makefile.am
==============================================================================
--- trunk/gir/Makefile.am	(original)
+++ trunk/gir/Makefile.am	Wed Feb  4 14:10:53 2009
@@ -39,7 +39,9 @@
             --output $@ \
             --pkg dbus-glib-1 \
             $(srcdir)/dbus.c \
-            $(srcdir)/dbus.h
+            $(srcdir)/dbus.h && \
+	cat DBus-1.0.gir | sed 's/DbusBusType/DBusBusType/g' > girtmp && \
+	mv girtmp DBus-1.0.gir
 BUILT_GIRSOURCES += DBus-1.0.gir
 lib_LTLIBRARIES += libgirepo-DBus-custom.la
 endif

Modified: trunk/gir/dbus.h
==============================================================================
--- trunk/gir/dbus.h	(original)
+++ trunk/gir/dbus.h	Wed Feb  4 14:10:53 2009
@@ -19,5 +19,10 @@
   DBUS_BUS_STARTER     /**< The bus that started us, if any */
 } DbusBusType;
 
+/* Scanner refuses to pick the enum up if it doesn's start
+ * with Dbus, we're fixing it with regexps on the gir afterwards
+ * for now
+ */
+
 GType dbus_connection_get_type (void);
 GType dbus_message_get_type (void);



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