# HG changeset patch # User rosfran # Date 1179944486 -3600 # Node ID 9ade4c5e5db8a153fe35ac68d08f2df868a6959c # Parent 3710052a05c99265366aa8130c2cc158d02a83d2 [svn r706] Fixes on adding GOBject support to signalizing. diff -r 3710052a05c9 -r 9ade4c5e5db8 gmyth-upnp/src/gmyth_upnp.c --- a/gmyth-upnp/src/gmyth_upnp.c Wed May 23 16:29:42 2007 +0100 +++ b/gmyth-upnp/src/gmyth_upnp.c Wed May 23 19:21:26 2007 +0100 @@ -66,7 +66,7 @@ static void gmyth_upnp_dispose (GObject *object); static void gmyth_upnp_finalize (GObject *object); -static void _mythtv_device_found ( GMythUPnPDeviceStatus status, gchar *dev, gpointer obj ); +static void _mythtv_device_found ( GMythUPnP *gmyth_upnp, GMythUPnPDeviceStatus status, gchar *dev ); static void _clinkc_mythtv_device_found ( gchar *udn, GMythUPnPDeviceStatus status ); static gboolean gmyth_upnp_initialize ( GMythUPnP *gmyth_upnp, GMythBackendInfo *gmyth_backend_info, @@ -182,7 +182,7 @@ * GObject's signal handler */ static void -_mythtv_device_found( GMythUPnPDeviceStatus status, gchar* udn, gpointer obj ) +_mythtv_device_found( GMythUPnP *gmyth_upnp, GMythUPnPDeviceStatus status, gchar* udn ) { g_debug( "status = %d, UDN = %s\n", status, udn ); } diff -r 3710052a05c9 -r 9ade4c5e5db8 gmyth-upnp/src/gmyth_upnp.h --- a/gmyth-upnp/src/gmyth_upnp.h Wed May 23 16:29:42 2007 +0100 +++ b/gmyth-upnp/src/gmyth_upnp.h Wed May 23 19:21:26 2007 +0100 @@ -63,7 +63,7 @@ GMYTH_UPNP_DEVICE_REMOVED } GMythUPnPDeviceStatus; -typedef void (*GMythUPnPDeviceListener) ( GMythUPnPDeviceStatus status, gchar *dev, gpointer obj ); +typedef void (*GMythUPnPDeviceListener) ( GMythUPnP *gmyth_upnp, GMythUPnPDeviceStatus status, gchar *dev, gpointer obj ); struct _GMythUPnPClass {