mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 21:33:09 +02:00
Bug 448943 – g_timeout_add_seconds() problems
2008-04-03 Matthias Clasen <mclasen@redhat.com> Bug 448943 – g_timeout_add_seconds() problems * glib/gmain.c (g_timeout_set_expiration): Prevent expiration time going negative. Reported by Cody Russell, analyzed by Olivier Crete, patch by Sjoerd Simons. svn path=/trunk/; revision=6814
This commit is contained in:
parent
524bb816e0
commit
7f82bb3196
@ -1,3 +1,11 @@
|
|||||||
|
2008-04-03 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Bug 448943 – g_timeout_add_seconds() problems
|
||||||
|
|
||||||
|
* glib/gmain.c (g_timeout_set_expiration): Prevent expiration
|
||||||
|
time going negative. Reported by Cody Russell, analyzed by
|
||||||
|
Olivier Crete, patch by Sjoerd Simons.
|
||||||
|
|
||||||
2008-04-03 Matthias Clasen <mclasen@redhat.com>
|
2008-04-03 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Bug 525674 – A typo in gmarkup.c
|
Bug 525674 – A typo in gmarkup.c
|
||||||
|
@ -3320,7 +3320,7 @@ g_timeout_set_expiration (GTimeoutSource *timeout_source,
|
|||||||
if (!session_bus_address)
|
if (!session_bus_address)
|
||||||
session_bus_address = g_getenv ("HOSTNAME");
|
session_bus_address = g_getenv ("HOSTNAME");
|
||||||
if (session_bus_address)
|
if (session_bus_address)
|
||||||
timer_perturb = g_str_hash (session_bus_address);
|
timer_perturb = ABS (g_str_hash (session_bus_address));
|
||||||
else
|
else
|
||||||
timer_perturb = 0;
|
timer_perturb = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user