[svn r706] Fixes on adding GOBject support to signalizing.
1.1 --- a/gmyth-upnp/src/gmyth_upnp.c Wed May 23 16:29:42 2007 +0100
1.2 +++ b/gmyth-upnp/src/gmyth_upnp.c Wed May 23 19:21:26 2007 +0100
1.3 @@ -66,7 +66,7 @@
1.4 static void gmyth_upnp_dispose (GObject *object);
1.5 static void gmyth_upnp_finalize (GObject *object);
1.6
1.7 -static void _mythtv_device_found ( GMythUPnPDeviceStatus status, gchar *dev, gpointer obj );
1.8 +static void _mythtv_device_found ( GMythUPnP *gmyth_upnp, GMythUPnPDeviceStatus status, gchar *dev );
1.9 static void _clinkc_mythtv_device_found ( gchar *udn, GMythUPnPDeviceStatus status );
1.10
1.11 static gboolean gmyth_upnp_initialize ( GMythUPnP *gmyth_upnp, GMythBackendInfo *gmyth_backend_info,
1.12 @@ -182,7 +182,7 @@
1.13 * GObject's signal handler
1.14 */
1.15 static void
1.16 -_mythtv_device_found( GMythUPnPDeviceStatus status, gchar* udn, gpointer obj )
1.17 +_mythtv_device_found( GMythUPnP *gmyth_upnp, GMythUPnPDeviceStatus status, gchar* udn )
1.18 {
1.19 g_debug( "status = %d, UDN = %s\n", status, udn );
1.20 }
2.1 --- a/gmyth-upnp/src/gmyth_upnp.h Wed May 23 16:29:42 2007 +0100
2.2 +++ b/gmyth-upnp/src/gmyth_upnp.h Wed May 23 19:21:26 2007 +0100
2.3 @@ -63,7 +63,7 @@
2.4 GMYTH_UPNP_DEVICE_REMOVED
2.5 } GMythUPnPDeviceStatus;
2.6
2.7 -typedef void (*GMythUPnPDeviceListener) ( GMythUPnPDeviceStatus status, gchar *dev, gpointer obj );
2.8 +typedef void (*GMythUPnPDeviceListener) ( GMythUPnP *gmyth_upnp, GMythUPnPDeviceStatus status, gchar *dev, gpointer obj );
2.9
2.10 struct _GMythUPnPClass
2.11 {