[gtk+/gtk-3-10] recentchooserdefault: Clean up load_id when we have nothing left to do
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-10] recentchooserdefault: Clean up load_id when we have nothing left to do
- Date: Thu, 5 Dec 2013 03:51:30 +0000 (UTC)
commit eaa40321c693d669f1656bd99e87c4a741c6ff4d
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]