summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentchooserdefault.c
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-12-04 15:08:25 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-12-04 19:29:06 -0500
commit96d2eeb6baff70363e1a4510f197d32da7f2df6e (patch)
treeb8b5ea019d1bc7d73ec8d08d10690226bfbf05b8 /gtk/gtkrecentchooserdefault.c
parentf05905361427158f5443be05f509de182ebb2a01 (diff)
downloadgtk+-96d2eeb6baff70363e1a4510f197d32da7f2df6e.tar.gz
recentchooserdefault: Clean up load_id when we have nothing left to do
Returning FALSE from a GSourceFunc will implicitly remove it, so we need to do this in order to make the new g_source_remove happy.
Diffstat (limited to 'gtk/gtkrecentchooserdefault.c')
-rw-r--r--gtk/gtkrecentchooserdefault.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c
index 16dbb17cbe..896ec5214a 100644
--- a/gtk/gtkrecentchooserdefault.c
+++ b/gtk/gtkrecentchooserdefault.c
@@ -762,6 +762,7 @@ load_recent_items (gpointer user_data)
chooser_set_model (impl);
retval = FALSE;
+ impl->priv->load_id = 0;
}
else
{