summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-bookmark.c
diff options
context:
space:
mode:
authorchen donghai <[email protected]>2018-01-10 17:10:23 +0800
committerraveit65 <[email protected]>2018-01-15 22:02:39 +0100
commit9b12785db1907b279fb7d6d80fd1d9fd4bb04bfb (patch)
treed68bcd159fe2a035c1bbc9f6fddec0c9da9681e1 /libcaja-private/caja-bookmark.c
parent4d4ca7bd4f2f2b4017c5a550211025a50c546d43 (diff)
downloadcaja-9b12785db1907b279fb7d6d80fd1d9fd4bb04bfb.tar.bz2
caja-9b12785db1907b279fb7d6d80fd1d9fd4bb04bfb.tar.xz
search_dispose and search_finilize can't be run after search finished
in caja_search_directory.c, fixes https://github.com/mate-desktop/caja/issues/895
Diffstat (limited to 'libcaja-private/caja-bookmark.c')
-rw-r--r--libcaja-private/caja-bookmark.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcaja-private/caja-bookmark.c b/libcaja-private/caja-bookmark.c
index 940af551..040f0834 100644
--- a/libcaja-private/caja-bookmark.c
+++ b/libcaja-private/caja-bookmark.c
@@ -572,7 +572,6 @@ caja_bookmark_new (GFile *location, const char *name, gboolean has_custom_name,
CajaBookmark *new_bookmark;
new_bookmark = CAJA_BOOKMARK (g_object_new (CAJA_TYPE_BOOKMARK, NULL));
- g_object_ref_sink (new_bookmark);
new_bookmark->details->name = g_strdup (name);
new_bookmark->details->location = g_object_ref (location);