summaryrefslogtreecommitdiff
path: root/x11/gnome-session/files/patch-gnome-session_manager.c
blob: 7e56843ac733a624f5de3e960a40e5bc87a4c8fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- gnome-session/manager.c.orig	Tue Oct 12 14:04:26 2004
+++ gnome-session/manager.c	Tue Oct 12 14:05:51 2004
@@ -1042,9 +1042,10 @@
 
       if (interact_ping_replied)
 	{
+	  IceConn ice_conn;
 	  gsm_verbose ("have interact_list; sending ping with data to client %p\n", client);
 	  print_client (client);
-	  IceConn ice_conn = SmsGetIceConnection (client->connection);
+	  ice_conn = SmsGetIceConnection (client->connection);
 	  interact_ping_replied = FALSE;
 	  IcePing (ice_conn, interact_ping_reply, (IcePointer)client);
 	}