1.1 --- a/app-manager/localmedia.c Fri Apr 30 20:37:08 2010 +0100
1.2 +++ b/app-manager/localmedia.c Mon Jan 30 07:59:58 2012 +0000
1.3 @@ -169,14 +169,15 @@
1.4
1.5 void plover_local_media_store_scan(PloverLocalMediaStore *store)
1.6 {
1.7 - GList *sets,*drives,*link;
1.8 + GSList *sets,*slink;
1.9 + GList *drives,*link;
1.10 GDrive *drive;
1.11 g_return_if_fail(PLOVER_IS_LOCAL_MEDIA_STORE(store));
1.12 sets=
1.13 g_slist_copy(plover_package_store_get_sets(PLOVER_PACKAGE_STORE(store)));
1.14 - for(link=sets;link;link=link->next)
1.15 + for(slink=sets;slink;slink=slink->next)
1.16 plover_package_store_remove_set(PLOVER_PACKAGE_STORE(store),
1.17 - PLOVER_PACKAGE_SET(link->data));
1.18 + PLOVER_PACKAGE_SET(slink->data));
1.19 g_slist_free(sets);
1.20 drives=g_volume_monitor_get_connected_drives(store->monitor);
1.21 for(link=drives;link;link=link->next)