[Xfce4-commits] r29743 - xfce4-panel/trunk/panel

Nick Schermer nick at xfce.org
Thu Apr 9 21:48:54 CEST 2009


Author: nick
Date: 2009-04-09 19:48:54 +0000 (Thu, 09 Apr 2009)
New Revision: 29743

Modified:
   xfce4-panel/trunk/panel/panel-app.c
Log:
Make sure the session client is not used anywhere else.


Modified: xfce4-panel/trunk/panel/panel-app.c
===================================================================
--- xfce4-panel/trunk/panel/panel-app.c	2009-04-09 19:40:44 UTC (rev 29742)
+++ xfce4-panel/trunk/panel/panel-app.c	2009-04-09 19:48:54 UTC (rev 29743)
@@ -764,7 +764,10 @@
 
     /* cleanup */
     if (panel_app.session_client != NULL)
+    {
         client_session_free (panel_app.session_client);
+        panel_app.session_client = NULL;
+    }
 
     cleanup_panels ();
     xfce_panel_item_manager_cleanup ();




More information about the Xfce4-commits mailing list