diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-window-manage-views.c | 4 | ||||
-rw-r--r-- | src/caja-window.c | 2 | ||||
-rw-r--r-- | src/file-manager/fm-directory-view.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/caja-window-manage-views.c b/src/caja-window-manage-views.c index cf06f8d1..e44240af 100644 --- a/src/caja-window-manage-views.c +++ b/src/caja-window-manage-views.c @@ -940,7 +940,7 @@ begin_location_change (CajaWindowSlot *slot, slot->location_change_type = type; slot->location_change_distance = distance; slot->tried_mount = FALSE; - slot->pending_selection = eel_g_object_list_copy (new_selection); + slot->pending_selection = g_list_copy_deep (new_selection, (GCopyFunc) g_object_ref, NULL); slot->pending_scroll_to = g_strdup (scroll_pos); @@ -1466,7 +1466,7 @@ load_new_location (CajaWindowSlot *slot, window = slot->pane->window; g_assert (CAJA_IS_WINDOW (window)); - selection_copy = eel_g_object_list_copy (selection); + selection_copy = g_list_copy_deep (selection, (GCopyFunc) g_object_ref, NULL); view = NULL; diff --git a/src/caja-window.c b/src/caja-window.c index 9983414e..0cdb2aaf 100644 --- a/src/caja-window.c +++ b/src/caja-window.c @@ -1916,7 +1916,7 @@ caja_get_history_list (void) static GList * caja_window_get_history (CajaWindow *window) { - return eel_g_object_list_copy (history_list); + return g_list_copy_deep (history_list, (GCopyFunc) g_object_ref, NULL); } diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c index 1387464b..835d5e81 100644 --- a/src/file-manager/fm-directory-view.c +++ b/src/file-manager/fm-directory-view.c @@ -1964,7 +1964,7 @@ fm_directory_view_set_selection_locations (CajaView *caja_view, */ g_list_free_full (view->details->pending_locations_selected, g_object_unref); view->details->pending_locations_selected = - eel_g_object_list_copy (selection_locations); + g_list_copy_deep (selection_locations, (GCopyFunc) g_object_ref, NULL); } } |