[maemo-commits] [maemo-commits] r8482 - projects/haf/branches/hildon-fm/1.x/hildon-fm
From: www-data at stage.maemo.org www-data at stage.maemo.orgDate: Wed Nov 29 20:34:44 EET 2006
- Previous message: [maemo-commits] r8481 - projects/haf/branches/hildon-fm/1.x/hildon-fm
- Next message: [maemo-commits] r8483 - projects/haf/trunk/pygtk/gtk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: marivoll Date: 2006-11-29 20:34:44 +0200 (Wed, 29 Nov 2006) New Revision: 8482 Modified: projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-upnp.c Log: * hildon-fm/hildon-file-system-upnp.c (hildon_file_system_upnp_init): Use 'device' directly instead of casting it; it is already the right type. Modified: projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-upnp.c =================================================================== --- projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-upnp.c 2006-11-29 18:31:59 UTC (rev 8481) +++ projects/haf/branches/hildon-fm/1.x/hildon-fm/hildon-file-system-upnp.c 2006-11-29 18:34:44 UTC (rev 8482) @@ -79,7 +79,6 @@ { HildonFileSystemSettings *fs_settings; HildonFileSystemSpecialLocation *location; - HildonFileSystemUpnp *upnp; fs_settings = _hildon_file_system_settings_get_instance (); @@ -89,12 +88,13 @@ location->fixed_title = g_strdup (_("sfil_li_shared_media")); location->failed_access_message = NULL; - upnp = HILDON_FILE_SYSTEM_UPNP (location); - upnp->connected_handler_id = + device->has_children = FALSE; + + device->connected_handler_id = g_signal_connect (fs_settings, "notify::iap-connected", G_CALLBACK (iap_connected_changed), - upnp); + device); } static void
- Previous message: [maemo-commits] r8481 - projects/haf/branches/hildon-fm/1.x/hildon-fm
- Next message: [maemo-commits] r8483 - projects/haf/trunk/pygtk/gtk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]