gdm r6124 - in trunk: . gui/simple-greeter
- From: halfline svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r6124 - in trunk: . gui/simple-greeter
- Date: Mon, 7 Apr 2008 20:24:23 +0100 (BST)
Author: halfline
Date: Mon Apr 7 20:24:23 2008
New Revision: 6124
URL: http://svn.gnome.org/viewvc/gdm?rev=6124&view=rev
Log:
2008-04-07 Ray Strode <rstrode redhat com>
* gui/simple-greeter/gdm-timer.c:
(gdm_timer_start): Initialize next_tick.
Harden against timer getting stopped during
first tick
Modified:
trunk/ChangeLog
trunk/gui/simple-greeter/gdm-timer.c
Modified: trunk/gui/simple-greeter/gdm-timer.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-timer.c (original)
+++ trunk/gui/simple-greeter/gdm-timer.c Mon Apr 7 20:24:23 2008
@@ -296,8 +296,10 @@
g_assert (timer->priv->tick_timeout_id == 0);
gdm_timer_set_is_started (timer, TRUE);
- do_tick (timer, 0.0, timer->priv->start_time);
+ g_object_ref (timer);
+ next_tick = do_tick (timer, 0.0, timer->priv->start_time);
gdm_timer_queue_next_tick (timer, next_tick);
+ g_object_unref (timer);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]