diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-12-22 19:10:43 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-12-22 19:10:43 +0000 |
commit | 721c3bc10182cacf1a98baddde3c94e59797ddb7 (patch) | |
tree | 78b2e3ae3c00133a58f09653aff664e4ab0305e9 /gtk/gtkrecentmanager.c | |
parent | 7854bd1b6e6102aff426bf6a48606c4a9b12b7c2 (diff) | |
download | gdk-pixbuf-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 'gtk/gtkrecentmanager.c')
-rw-r--r-- | gtk/gtkrecentmanager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c index d99aefd38..b991f7d6b 100644 --- a/gtk/gtkrecentmanager.c +++ b/gtk/gtkrecentmanager.c @@ -296,7 +296,7 @@ gtk_recent_manager_init (GtkRecentManager *manager) priv->filename = g_build_filename (g_get_home_dir (), GTK_RECENTLY_USED_FILE, NULL); - priv->poll_timeout = g_timeout_add (POLL_DELTA, + priv->poll_timeout = gdk_threads_add_timeout (POLL_DELTA, gtk_recent_manager_poll_timeout, manager); @@ -508,7 +508,7 @@ gtk_recent_manager_set_filename (GtkRecentManager *manager, } priv->filename = g_strdup (filename); - priv->poll_timeout = g_timeout_add (POLL_DELTA, + priv->poll_timeout = gdk_threads_add_timeout (POLL_DELTA, gtk_recent_manager_poll_timeout, manager); |