summaryrefslogtreecommitdiff
path: root/glib/gmain.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-08-13 08:55:20 -0400
committerColin Walters <walters@verbum.org>2011-08-29 10:24:08 -0400
commit1feb752996b404965a2f58b29a569a273d4374fa (patch)
tree8074af722f28600d772db2d3132eaa588b3bc5db /glib/gmain.h
parent1dfe332e4505d9de9d5819087a60a591b40dde28 (diff)
downloadglib-1feb752996b404965a2f58b29a569a273d4374fa.tar.gz
gdatetime: Add g_date_time_source_new()
Several different codebases in GNOME want to implement wall clocks. While we could pretty easily share a private library, it's not a substantial amount of code, and GLib already has a lot of the necessary system-specific detection and handling infrastructure. Note this initial implementation just wakes up once a second in the cancel_on_set case; we'll add the Linux-specific handling in a subsequent commit. https://bugzilla.gnome.org/show_bug.cgi?id=655129
Diffstat (limited to 'glib/gmain.h')
-rw-r--r--glib/gmain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/glib/gmain.h b/glib/gmain.h
index ed130d038..d31b45f1d 100644
--- a/glib/gmain.h
+++ b/glib/gmain.h
@@ -533,6 +533,7 @@ guint g_timeout_add_seconds_full (gint priority,
guint g_timeout_add_seconds (guint interval,
GSourceFunc function,
gpointer data);
+
guint g_child_watch_add_full (gint priority,
GPid pid,
GChildWatchFunc function,