mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
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.
This commit is contained in:
parent
f059053614
commit
96d2eeb6ba
@ -762,6 +762,7 @@ load_recent_items (gpointer user_data)
|
||||
chooser_set_model (impl);
|
||||
|
||||
retval = FALSE;
|
||||
impl->priv->load_id = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user