Commit 67d9c1a0 authored by Vincent Untz's avatar Vincent Untz Committed by Vincent Untz

use GSM_MANAGER_PHASE_TIMEOUT instead of hard-coding 10 seconds

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.

svn path=/trunk/; revision=5375
parent f0bd0a74
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.
2009-04-08 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-logout-dialog.c: (on_ck_request_completed): killed
......
......@@ -594,7 +594,7 @@ do_phase_end_session (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);
......@@ -662,7 +662,7 @@ static void
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment