empathy r1332 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1332 - trunk/libempathy
- Date: Thu, 14 Aug 2008 07:54:17 +0000 (UTC)
Author: xclaesse
Date: Thu Aug 14 07:54:17 2008
New Revision: 1332
URL: http://svn.gnome.org/viewvc/empathy?rev=1332&view=rev
Log:
Do not stop and restart ext_away_timeout when already running.
Modified:
trunk/libempathy/empathy-idle.c
Modified: trunk/libempathy/empathy-idle.c
==============================================================================
--- trunk/libempathy/empathy-idle.c (original)
+++ trunk/libempathy/empathy-idle.c Thu Aug 14 07:54:17 2008
@@ -113,7 +113,9 @@
priv = GET_PRIV (idle);
- idle_ext_away_stop (idle);
+ if (priv->ext_away_timeout != 0) {
+ return;
+ }
priv->ext_away_timeout = g_timeout_add_seconds (EXT_AWAY_TIME,
(GSourceFunc) idle_ext_away_cb,
idle);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]