mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-17 21:08:49 +02:00
Coding style cleanups
svn path=/trunk/; revision=5651
This commit is contained in:
parent
59207d2798
commit
23cb7803c2
@ -3361,9 +3361,9 @@ g_timeout_set_expiration (GTimeoutSource *timeout_source,
|
|||||||
* address first, that has a UUID in it. If there is no dbus, use the
|
* address first, that has a UUID in it. If there is no dbus, use the
|
||||||
* hostname for hashing.
|
* hostname for hashing.
|
||||||
*/
|
*/
|
||||||
const char *session_bus_address = getenv("DBUS_SESSION_BUS_ADDRESS");
|
const char *session_bus_address = g_getenv ("DBUS_SESSION_BUS_ADDRESS");
|
||||||
if (!session_bus_address)
|
if (!session_bus_address)
|
||||||
session_bus_address = 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 = g_str_hash (session_bus_address);
|
||||||
else
|
else
|
||||||
@ -3534,6 +3534,7 @@ g_timeout_source_new (guint interval)
|
|||||||
* The source will not initially be associated with any #GMainContext
|
* The source will not initially be associated with any #GMainContext
|
||||||
* and must be added to one with g_source_attach() before it will be
|
* and must be added to one with g_source_attach() before it will be
|
||||||
* executed.
|
* executed.
|
||||||
|
*
|
||||||
* The scheduling granularity/accuracy of this timeout source will be
|
* The scheduling granularity/accuracy of this timeout source will be
|
||||||
* in seconds.
|
* in seconds.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user