phonemgr r311 - in trunk: . libgsm



Author: hadess
Date: Wed Jun 18 14:56:15 2008
New Revision: 311
URL: http://svn.gnome.org/viewvc/phonemgr?rev=311&view=rev

Log:
2008-06-18  Bastien Nocera  <hadess hadess net>

	* libgsm/glibgsmtest.c (main): Remove debug
	* libgsm/phonemgr-listener.c (phonemgr_listener_list_all_data):
	Fixed another wrongly placed g_mutex_unlock()



Modified:
   trunk/ChangeLog
   trunk/libgsm/glibgsmtest.c
   trunk/libgsm/phonemgr-listener.c

Modified: trunk/libgsm/glibgsmtest.c
==============================================================================
--- trunk/libgsm/glibgsmtest.c	(original)
+++ trunk/libgsm/glibgsmtest.c	Wed Jun 18 14:56:15 2008
@@ -193,7 +193,6 @@
 			char **array;
 			guint i;
 
-			g_message ("listing all data of type %d", type);
 			array = phonemgr_listener_list_all_data (listener, type);
 			if (array == NULL) {
 				g_message ("BLEEEEEEH");

Modified: trunk/libgsm/phonemgr-listener.c
==============================================================================
--- trunk/libgsm/phonemgr-listener.c	(original)
+++ trunk/libgsm/phonemgr-listener.c	Wed Jun 18 14:56:15 2008
@@ -1296,7 +1296,6 @@
 			for (i = 1, found = 0; found <= memstat.used; i++) {
 				gn_phonebook_entry entry;
 				if (phonemgr_listener_get_phonebook_entry (l, memstat.memory_type, i, &entry) == FALSE) {
-					g_mutex_unlock (l->mutex);
 					break;
 				} else if (entry.empty == FALSE) {
 					char *uuid;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]