[gtk+] recentchooserdefault: Clean up load_id when we have nothing left to do
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] recentchooserdefault: Clean up load_id when we have nothing left to do
- Date: Thu, 5 Dec 2013 00:29:17 +0000 (UTC)
commit 96d2eeb6baff70363e1a4510f197d32da7f2df6e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Dec 4 15:08:25 2013 -0500
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.
gtk/gtkrecentchooserdefault.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c
index 16dbb17..896ec52 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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]