[Xfce4-commits] <exo:master> Fix visibility code.

Nick Schermer noreply at xfce.org
Fri Oct 23 17:46:08 CEST 2009


Updating branch refs/heads/master
         to 29cce3af887093ff06e2ee515238143f6c4cdf42 (commit)
       from e15d28dade90b674697fe63120a51db2e3b87498 (commit)

commit 29cce3af887093ff06e2ee515238143f6c4cdf42
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Oct 23 17:11:46 2009 +0200

    Fix visibility code.
    
    Missed a generated enum type and make sure visiblity works
    when debugging is enabled.

 configure.in.in |    5 +++++
 exo/exo.symbols |    1 -
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index 6cf58ff..c1ff029 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -322,8 +322,12 @@ if test x"$enable_visibility" != x"no"; then
   AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
   AC_COMPILE_IFELSE(AC_LANG_SOURCE(
   [
+    void test_default (void);
+    void test_hidden (void);
+
     void __attribute__ ((visibility("default"))) test_default (void) {}
     void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
+
     int main (int argc, char **argv) { test_default (); test_hidden (); return 0; }
   ]),
   [
@@ -432,5 +436,6 @@ else
 echo "* GIO-Unix features:    no"
 fi
 echo "* Debug Support:        $enable_debug"
+echo "* GNU Visibility:       $have_gnuc_visibility"
 echo "* Python Support:       $have_python"
 echo
diff --git a/exo/exo.symbols b/exo/exo.symbols
index f2b2ca8..9172970 100644
--- a/exo/exo.symbols
+++ b/exo/exo.symbols
@@ -80,7 +80,6 @@ exo_check_version
 #if IN_SOURCE(__EXO_ENUM_TYPES_C__)
 exo_icon_view_drop_position_get_type G_GNUC_CONST
 exo_icon_view_layout_mode_get_type G_GNUC_CONST
-exo_mount_point_flags_get_type G_GNUC_CONST
 exo_toolbars_model_flags_get_type G_GNUC_CONST
 #endif
 #endif



More information about the Xfce4-commits mailing list