Commit dcfe8a6d authored by Jens Georg's avatar Jens Georg

Skip DeviceInfo VFuncs in GIR

This fixes a name-clash with similar named functions with slightly
different argument lists
parent 800c9242
......@@ -108,7 +108,7 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(top_srcdir)
if HAVE_INTROSPECTION
GUPnP-1.0.gir: libgupnp-1.0.la
GUPnP_1_0_gir_INCLUDES = libxml2-2.0 GObject-2.0 Soup-2.4 GSSDP-1.0
GUPnP_1_0_gir_CFLAGS = $(INCLUDES) $(AM_CFLAGS)
GUPnP_1_0_gir_CFLAGS = -DGOBJECT_INTROSPECTION_SKIP $(INCLUDES) $(AM_CFLAGS)
GUPnP_1_0_gir_LIBS = libgupnp-1.0.la
GUPnP_1_0_gir_FILES = $(introspection_sources)
GUPnP_1_0_gir_NAMESPACE = GUPnP
......
......@@ -77,11 +77,15 @@ struct _GUPnPDeviceInfoClass {
/* vtable */
xmlNode * (* get_element) (GUPnPDeviceInfo *info);
/* FIXME: Once we can break API/ABI, clean-up and rename the
* _get_device/_get_service functions */
#ifndef GOBJECT_INTROSPECTION_SKIP
GUPnPDeviceInfo * (* get_device) (GUPnPDeviceInfo *info,
xmlNode *element);
GUPnPServiceInfo * (* get_service) (GUPnPDeviceInfo *info,
xmlNode *element);
#endif
/* future padding */
void (* _gupnp_reserved1) (void);
void (* _gupnp_reserved2) (void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment