gnome-session r5375 - in trunk: . gnome-session
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-session r5375 - in trunk: . gnome-session
- Date: Wed, 8 Apr 2009 12:58:21 +0000 (UTC)
Author: vuntz
Date: Wed Apr 8 12:58:21 2009
New Revision: 5375
URL: http://svn.gnome.org/viewvc/gnome-session?rev=5375&view=rev
Log:
2009-04-08 Vincent Untz <vuntz gnome org>
* gnome-session/gsm-manager.c: (do_phase_end_session),
(do_phase_exit): use GSM_MANAGER_PHASE_TIMEOUT instead of hard-coding
10 seconds everywhere.
Modified:
trunk/ChangeLog
trunk/gnome-session/gsm-manager.c
Modified: trunk/gnome-session/gsm-manager.c
==============================================================================
--- trunk/gnome-session/gsm-manager.c (original)
+++ trunk/gnome-session/gsm-manager.c Wed Apr 8 12:58:21 2009
@@ -594,7 +594,7 @@
}
if (gsm_store_size (manager->priv->clients) > 0) {
- manager->priv->phase_timeout_id = g_timeout_add_seconds (10,
+ manager->priv->phase_timeout_id = g_timeout_add_seconds (GSM_MANAGER_PHASE_TIMEOUT,
(GSourceFunc)on_phase_timeout,
manager);
@@ -662,7 +662,7 @@
do_phase_exit (GsmManager *manager)
{
if (gsm_store_size (manager->priv->clients) > 0) {
- manager->priv->phase_timeout_id = g_timeout_add_seconds (10,
+ manager->priv->phase_timeout_id = g_timeout_add_seconds (GSM_MANAGER_PHASE_TIMEOUT,
(GSourceFunc)on_phase_timeout,
manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]