gnome-session r4778 - in trunk: . gnome-session



Author: lucasr
Date: Wed Jun 25 18:11:10 2008
New Revision: 4778
URL: http://svn.gnome.org/viewvc/gnome-session?rev=4778&view=rev

Log:
2008-06-25  Lucas Rocha  <lucasr gnome org>

	* gnome-session/session.c (gsm_session_register_client): use client_id
	instead of id in order to fix a crasher when printing null strings.
	#539187, Brian Cameron.


Modified:
   trunk/ChangeLog
   trunk/gnome-session/session.c

Modified: trunk/gnome-session/session.c
==============================================================================
--- trunk/gnome-session/session.c	(original)
+++ trunk/gnome-session/session.c	Wed Jun 25 18:11:10 2008
@@ -681,7 +681,7 @@
       client_id = g_strdup (id);
     }
 
-  g_debug ("Adding new client %s to session", id);
+  g_debug ("Adding new client %s to session", client_id);
 
   g_signal_connect (client, "saved_state",
 		    G_CALLBACK (client_saved_state), session);



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