Update of /cvsroot/gtkpod/gtkpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv5523/src

Modified Files:
        prefs.c 
Log Message:
        * src/prefs.c (prefs_create_subset): removed double-lock of
          prefs table which locked up prefs_rename_subkey(), used in
          repository.c



Index: prefs.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/prefs.c,v
retrieving revision 1.284
retrieving revision 1.285
diff -u -d -r1.284 -r1.285
--- prefs.c     23 Apr 2007 15:33:31 -0000      1.284
+++ prefs.c     10 May 2007 15:18:35 -0000      1.285
@@ -1192,8 +1192,6 @@
 {
     struct sub_data sub_data;
 
-    lock_prefs_table ();
-
     g_return_val_if_fail (prefs_table, (unlock_prefs_table(), NULL));
 
     sub_data.temp_prefs = temp_prefs_create ();
@@ -1201,8 +1199,6 @@
 
     g_hash_table_foreach (prefs_table, (GHFunc)get_subset, &sub_data);
 
-    unlock_prefs_table ();
-
     return sub_data.temp_prefs;
 }
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to