Commit 96d2eeb6 authored by Jasper St. Pierre's avatar Jasper St. Pierre

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.
parent f0590536
...@@ -762,6 +762,7 @@ load_recent_items (gpointer user_data) ...@@ -762,6 +762,7 @@ load_recent_items (gpointer user_data)
chooser_set_model (impl); chooser_set_model (impl);
retval = FALSE; retval = FALSE;
impl->priv->load_id = 0;
} }
else else
{ {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment