summaryrefslogtreecommitdiff
path: root/thunarx/thunarx-file-info.c
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2009-09-26 22:19:50 +0200
committerJannis Pohlmann <jannis@xfce.org>2009-09-26 22:19:50 +0200
commit4553fba65237ae56bbcc632145abbacfe718a727 (patch)
tree429f131a732cb2f0e94ee3ead068923be9abd0b7 /thunarx/thunarx-file-info.c
parentaf1ad121adfd30ef35b295fd664101868d43499e (diff)
downloadthunar-4553fba65237ae56bbcc632145abbacfe718a727.tar.gz
Use -export-symbols-regex instead of XDT_FEATURE_VISIBILITY.
XDT_FEATURE_VISIBILITY() breaks plugins as it strips thunar_extension* functions from the final shared library files. An alternative way to XDT_FEATURE_VISIBILITY() and the old visibility configure code used in Thunar is to define -export-symbols-regex (e.g. by setting it to "^thunar_extension.*") in Makefile.am of each plugin. This also removes the alias stuff in Thunarx, as we no longer need to define which symbols to export or not via the alias header. All symbols starting with _ are now automatically marked as private and are not exported. Additionally, G_GNUC_INTERNAL can be used to hide symbols. thunarx.symbols is preserved for ABI checks and still has to be updated when new symbols are added. Hope all this is ok. Double-checkers to the rescue!
Diffstat (limited to 'thunarx/thunarx-file-info.c')
-rw-r--r--thunarx/thunarx-file-info.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/thunarx/thunarx-file-info.c b/thunarx/thunarx-file-info.c
index c1d45e8f..56460244 100644
--- a/thunarx/thunarx-file-info.c
+++ b/thunarx/thunarx-file-info.c
@@ -25,7 +25,6 @@
#include <thunarx/thunarx-file-info.h>
#include <thunarx/thunarx-private.h>
-#include <thunarx/thunarx-alias.h>
@@ -444,8 +443,3 @@ thunarx_file_info_list_free (GList *file_infos)
g_list_foreach (file_infos, (GFunc) g_object_unref, NULL);
g_list_free (file_infos);
}
-
-
-
-#define __THUNARX_FILE_INFO_C__
-#include <thunarx/thunarx-aliasdef.c>