summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/caja-window-manage-views.c4
-rw-r--r--src/caja-window.c2
-rw-r--r--src/file-manager/fm-directory-view.c2
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);
}
}