Search
lxdream.org :: lxdream/src/vmu/vmulist.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/vmu/vmulist.c
changeset 1071:182cfe43c09e
prev1035:e3093fd7d1da
next1296:30ecee61f811
author nkeynes
date Tue Jul 21 20:21:52 2009 +1000 (11 years ago)
permissions -rw-r--r--
last change Fix assorted -Wall warnings
file annotate diff log raw
1.1 --- a/src/vmu/vmulist.c Wed Jun 24 05:10:25 2009 +0000
1.2 +++ b/src/vmu/vmulist.c Tue Jul 21 20:21:52 2009 +1000
1.3 @@ -131,6 +131,9 @@
1.4 entry->filename = g_strdup(filename);
1.5 entry->vol = vol;
1.6 vmu_list = g_list_insert_sorted(vmu_list, entry, vmulist_display_name_compare );
1.7 + vmulist_update_config();
1.8 +
1.9 + CALL_HOOKS( vmulist_change_hook, VMU_ADDED, g_list_index(vmu_list,entry) );
1.10 } else {
1.11 if( entry->vol != vol && entry->vol != NULL )
1.12 vmu_volume_destroy( entry->vol );
1.13 @@ -141,8 +144,6 @@
1.14 }
1.15 entry->attach_count = 0;
1.16
1.17 - vmulist_update_config();
1.18 - CALL_HOOKS( vmulist_change_hook, VMU_ADDED, g_list_index(vmu_list,entry) );
1.19 return entry;
1.20 }
1.21
.