[nautilus] bookmark: fix runtime warning
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] bookmark: fix runtime warning
- Date: Sun, 16 Feb 2014 02:06:09 +0000 (UTC)
commit 33567d58cdb9974a28f4ad3dc46c7e7c496cb7b4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Feb 15 18:02:41 2014 -0800
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.
libnautilus-private/nautilus-bookmark.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-bookmark.c b/libnautilus-private/nautilus-bookmark.c
index 112d974..2655f48 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]