summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchen donghai <[email protected]>2018-01-10 17:10:23 +0800
committermonsta <[email protected]>2018-03-11 22:10:54 +0300
commitd2fa2b1bff2a581fd385789a92056f8cd0bf0b70 (patch)
treeeb488ed228ca6a2346acf011abad228f6b56ca1b
parent4b05158ecca289ef99136727194373131012dea5 (diff)
downloadcaja-d2fa2b1bff2a581fd385789a92056f8cd0bf0b70.tar.bz2
caja-d2fa2b1bff2a581fd385789a92056f8cd0bf0b70.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
-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);