summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-bookmark.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2014-02-15 18:02:41 -0800
committerCosimo Cecchi <cosimoc@gnome.org>2014-02-15 18:02:41 -0800
commit33567d58cdb9974a28f4ad3dc46c7e7c496cb7b4 (patch)
treefe5b939ec4b830465dfc6930ff2054c790f3b813 /libnautilus-private/nautilus-bookmark.c
parent2fa90048ebf41af71bbae20e9c5934286a049d75 (diff)
downloadnautilus-33567d58cdb9974a28f4ad3dc46c7e7c496cb7b4.tar.gz
bookmark: fix runtime warning
We did not reset the timeout id to zero when the callback was reached, causing the finalize code to try to remove an invalid source ID later.
Diffstat (limited to 'libnautilus-private/nautilus-bookmark.c')
-rw-r--r--libnautilus-private/nautilus-bookmark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-bookmark.c b/libnautilus-private/nautilus-bookmark.c
index 112d97465..2655f4851 100644
--- a/libnautilus-private/nautilus-bookmark.c
+++ b/libnautilus-private/nautilus-bookmark.c
@@ -387,6 +387,7 @@ static gboolean
exists_non_native_idle_cb (gpointer user_data)
{
NautilusBookmark *bookmark = user_data;
+ bookmark->details->exists_id = 0;
nautilus_bookmark_set_exists (bookmark, FALSE);
return FALSE;