summaryrefslogtreecommitdiff
path: root/src/caja-window-manage-views.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-05 08:17:55 +0100
committerZenWalker <[email protected]>2019-03-29 15:51:25 +0100
commit26800580d62402e4b3390743205fefe2732ac394 (patch)
treecca685061aecaa60512bbb3872acf3ca7d3435b3 /src/caja-window-manage-views.c
parent6b9bed243b886ba59033addf172c857048f074c2 (diff)
downloadcaja-26800580d62402e4b3390743205fefe2732ac394.tar.bz2
caja-26800580d62402e4b3390743205fefe2732ac394.tar.xz
eel: remove g_object_list_copy
GNOME/nautilus@7af24a8 Replace GList * eel_g_object_list_copy (GList *list) with g_list_copy_deep (list, (GCopyFunc) g_object_ref, NULL)
Diffstat (limited to 'src/caja-window-manage-views.c')
-rw-r--r--src/caja-window-manage-views.c4
1 files changed, 2 insertions, 2 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;