[Xfce4-commits] r29773 - in thunar/branches/migration-to-gio: . thunar
Jannis Pohlmann
jannis at xfce.org
Sun Apr 12 01:31:24 CEST 2009
Author: jannis
Date: 2009-04-11 23:31:23 +0000 (Sat, 11 Apr 2009)
New Revision: 29773
Modified:
thunar/branches/migration-to-gio/ChangeLog
thunar/branches/migration-to-gio/thunar/thunar-clipboard-manager.c
Log:
* thunar/thunar-clipboard-manager.c: Use a GFile list and
thunar_file_list_to_g_file_list() instead of the ThunarVFS
equivalents in thunar_clipboard_manager_get_callback().
Modified: thunar/branches/migration-to-gio/ChangeLog
===================================================================
--- thunar/branches/migration-to-gio/ChangeLog 2009-04-11 23:04:06 UTC (rev 29772)
+++ thunar/branches/migration-to-gio/ChangeLog 2009-04-11 23:31:23 UTC (rev 29773)
@@ -1,5 +1,11 @@
2009-04-12 Jannis Pohlmann <jannis at xfce.org>
+ * thunar/thunar-clipboard-manager.c: Use a GFile list and
+ thunar_file_list_to_g_file_list() instead of the ThunarVFS
+ equivalents in thunar_clipboard_manager_get_callback().
+
+2009-04-12 Jannis Pohlmann <jannis at xfce.org>
+
* thunar/thunar-file.{c,h}: Add new or re-implement the functions or
macros thunar_file_get_content_type(),
thunar_file_get_symlink_target(), thunar_file_get_basename(),
Modified: thunar/branches/migration-to-gio/thunar/thunar-clipboard-manager.c
===================================================================
--- thunar/branches/migration-to-gio/thunar/thunar-clipboard-manager.c 2009-04-11 23:04:06 UTC (rev 29772)
+++ thunar/branches/migration-to-gio/thunar/thunar-clipboard-manager.c 2009-04-11 23:31:23 UTC (rev 29773)
@@ -421,7 +421,7 @@
gpointer user_data)
{
ThunarClipboardManager *manager = THUNAR_CLIPBOARD_MANAGER (user_data);
- GList *path_list = NULL;
+ GList *file_list = NULL;
gchar *string_list;
gchar *data;
@@ -430,10 +430,10 @@
_thunar_return_if_fail (manager->clipboard == clipboard);
/* determine the path list from the file list */
- path_list = thunar_file_list_to_path_list (manager->files);
+ file_list = thunar_file_list_to_g_file_list (manager->files);
/* determine the string representation of the path list */
- string_list = thunar_vfs_path_list_to_string (path_list);
+ string_list = g_file_list_to_string (file_list);
switch (target_info)
{
@@ -452,7 +452,7 @@
}
/* cleanup */
- thunar_vfs_path_list_free (path_list);
+ g_file_list_free (file_list);
g_free (string_list);
}
More information about the Xfce4-commits
mailing list