summaryrefslogtreecommitdiff
path: root/thunar/thunar-file.c
diff options
context:
space:
mode:
authorBenedikt Meurer <benny@xfce.org>2005-11-21 20:58:54 +0000
committerBenedikt Meurer <benny@xfce.org>2005-11-21 20:58:54 +0000
commitf6eae23de9952d963265e8b58351bcebae610937 (patch)
tree98447a2cda940169218b56c4c4f4103b2e349e6c /thunar/thunar-file.c
parent5dcf7a66f0735f4b006edefea0fc3dc95d1d0e77 (diff)
downloadthunar-f6eae23de9952d963265e8b58351bcebae610937.tar.gz
2005-11-21 Benedikt Meurer <benny@xfce.org>
* thunarx/thunarx-provider-plugin.{c,h}, thunarx/Makefile.am, thunarx/thunarx.h, thunarx/thunarx.symbols: Add ThunarxProviderPlugin interface, which abstracts from the details of the dynamic type registration, and is accessible to the extensions. * thunarx/thunarx-provider-module.{c,h}, thunarx/Makefile.am: Add implementation for the ThunarxProviderPlugin interface, based on GTypeModule, which is used on the file manager's side to manage the type plugins. * thunarx/thunarx-provider-factory.{c,h}, thunarx/Makefile.am, thunarx/thunarx.h, thunarx/thunarx.symbols: Add ThunarxProviderFactory based on the ThunarExtensionManager as public interface to the provider plugin mechanism. This may also be used by other applications in the future. * thunarx/thunarx.h: Provide convenience macros ala G_DEFINE_TYPE() to ease type registration for plugin writers. * examples/, configure.in.in: Update the "Open Terminal Here" example. * docs/reference/thunarx/: Update the thunarx reference manual to include the new classes and interfaces. * thunar/thunar-extension-manager.{c,h}: Drop the old extension manager class in favour of the new provider factory class. * thunar/thunar-properties-dialog.c, thunar/thunar-standard-view.c: Use ThunarxProviderFactory to load the providers from the installed extensions. * po/POTFILES.in: Update with new file list. * thunar/thunar-file.{c,h}: Implement thunar_file_list_copy() using thunarx_file_info_list_copy() and thunar_file_list_free() using thunarx_file_info_list_free(). * docs/reference/thunar-vfs/thunar-vfs-overrides.txt, docs/reference/thunarx/thunarx-overrides.txt: Fix build error with older gtk-doc versions. (Old svn revision: 18919)
Diffstat (limited to 'thunar/thunar-file.c')
-rw-r--r--thunar/thunar-file.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index fd16ce3d..292ac547 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -36,8 +36,6 @@
#include <thunar/thunar-file.h>
-#include <thunarx/thunarx.h>
-
/* Additional flags associated with a ThunarFile */
@@ -1703,37 +1701,4 @@ thunar_file_cache_lookup (const ThunarVfsPath *path)
-/**
- * thunar_file_list_copy:
- * @file_list : a list of #ThunarFile<!---->s.
- *
- * Returns a deep-copy of @file_list, which must be
- * freed using thunar_file_list_free().
- *
- * Return value: a deep copy of @file_list.
- **/
-GList*
-thunar_file_list_copy (const GList *file_list)
-{
- GList *list = g_list_copy ((GList *) file_list);
- g_list_foreach (list, (GFunc) g_object_ref, NULL);
- return list;
-}
-
-
-
-/**
- * thunar_file_list_free:
- * @file_list : a list of #ThunarFile<!---->s.
- *
- * Unrefs the #ThunarFile<!---->s contained in @file_list
- * and frees the list itself.
- **/
-void
-thunar_file_list_free (GList *file_list)
-{
- g_list_foreach (file_list, (GFunc) g_object_unref, NULL);
- g_list_free (file_list);
-}
-