gnome-session r4841 - in branches/dbus_based: . gnome-session



Author: mccann
Date: Fri Jul 25 01:42:38 2008
New Revision: 4841
URL: http://svn.gnome.org/viewvc/gnome-session?rev=4841&view=rev

Log:
2008-07-24  William Jon McCann  <jmccann redhat com>

	* gnome-session/gsm-xsmp-client.c (setup_connection):
	Use add_seconds for timeout.
	Pointed out by Matthias Clasen <mclasen redhat com>



Modified:
   branches/dbus_based/ChangeLog
   branches/dbus_based/gnome-session/gsm-xsmp-client.c

Modified: branches/dbus_based/gnome-session/gsm-xsmp-client.c
==============================================================================
--- branches/dbus_based/gnome-session/gsm-xsmp-client.c	(original)
+++ branches/dbus_based/gnome-session/gsm-xsmp-client.c	Fri Jul 25 01:42:38 2008
@@ -173,9 +173,9 @@
                                                  client);
         g_io_channel_unref (channel);
 
-        client->priv->protocol_timeout = g_timeout_add (5000,
-                                                        (GSourceFunc)client_protocol_timeout,
-                                                        client);
+        client->priv->protocol_timeout = g_timeout_add_seconds (5,
+                                                                (GSourceFunc)client_protocol_timeout,
+                                                                client);
 
         set_description (client);
 



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