summaryrefslogtreecommitdiff
path: root/gdk/gdk.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-12-22 19:10:43 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-12-22 19:10:43 +0000
commit721c3bc10182cacf1a98baddde3c94e59797ddb7 (patch)
tree78b2e3ae3c00133a58f09653aff664e4ab0305e9 /gdk/gdk.h
parent7854bd1b6e6102aff426bf6a48606c4a9b12b7c2 (diff)
downloadgtk+-721c3bc10182cacf1a98baddde3c94e59797ddb7.tar.gz
Replace a lot of idle and timeout calls by the new gdk_threads api.
2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
Diffstat (limited to 'gdk/gdk.h')
-rw-r--r--gdk/gdk.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdk/gdk.h b/gdk/gdk.h
index 861198d474..016b590540 100644
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -209,6 +209,23 @@ guint gdk_threads_add_timeout (guint interval,
gpointer data);
+guint gdk_threads_add_idle_full (gint priority,
+ GSourceFunc function,
+ gpointer data,
+ GDestroyNotify notify);
+guint gdk_threads_add_idle (GSourceFunc function,
+ gpointer data);
+
+guint gdk_threads_add_timeout_full (gint priority,
+ guint interval,
+ GSourceFunc function,
+ gpointer data,
+ GDestroyNotify notify);
+guint gdk_threads_add_timeout (guint interval,
+ GSourceFunc function,
+ gpointer data);
+
+
#ifdef G_THREADS_ENABLED
# define GDK_THREADS_ENTER() G_STMT_START { \
if (gdk_threads_lock) \