diff options
author | Jannis Pohlmann <jannis@xfce.org> | 2009-09-26 22:19:50 +0200 |
---|---|---|
committer | Jannis Pohlmann <jannis@xfce.org> | 2009-09-26 22:19:50 +0200 |
commit | 4553fba65237ae56bbcc632145abbacfe718a727 (patch) | |
tree | 429f131a732cb2f0e94ee3ead068923be9abd0b7 /thunarx/thunarx-renamer-provider.c | |
parent | af1ad121adfd30ef35b295fd664101868d43499e (diff) | |
download | thunar-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-renamer-provider.c')
-rw-r--r-- | thunarx/thunarx-renamer-provider.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/thunarx/thunarx-renamer-provider.c b/thunarx/thunarx-renamer-provider.c index 78c10194..56fcfcef 100644 --- a/thunarx/thunarx-renamer-provider.c +++ b/thunarx/thunarx-renamer-provider.c @@ -24,7 +24,6 @@ #include <thunarx/thunarx-renamer-provider.h> #include <thunarx/thunarx-private.h> -#include <thunarx/thunarx-alias.h> @@ -107,8 +106,3 @@ thunarx_renamer_provider_get_renamers (ThunarxRenamerProvider *provider) /* and return the list of renamers */ return renamers; } - - - -#define __THUNARX_RENAMER_PROVIDER_C__ -#include <thunarx/thunarx-aliasdef.c> |