[Xfce4-commits] <xfce4-panel:devel> Add G_MODULE_EXPORT to the PANEL_SYMBOL_EXPORT definition.

Nick Schermer nick at xfce.org
Tue Aug 11 20:30:13 CEST 2009


Updating branch refs/heads/devel
         to 65c51a955613a2603d2e2e0c0ea84eaf63c26c93 (commit)
       from 3232ea7a166c178c0cd945da2921ff7f19ef407b (commit)

commit 65c51a955613a2603d2e2e0c0ea84eaf63c26c93
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Mar 15 15:26:38 2009 +0100

    Add G_MODULE_EXPORT to the PANEL_SYMBOL_EXPORT definition.

 libxfce4panel/xfce-panel-macros.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libxfce4panel/xfce-panel-macros.h b/libxfce4panel/xfce-panel-macros.h
index d5c23e4..52328ef 100644
--- a/libxfce4panel/xfce-panel-macros.h
+++ b/libxfce4panel/xfce-panel-macros.h
@@ -60,9 +60,9 @@ G_BEGIN_DECLS
 
 /* visibility support */
 #ifdef HAVE_GNUC_VISIBILITY
-#define PANEL_SYMBOL_EXPORT __attribute__ ((visibility("default")))
+#define PANEL_SYMBOL_EXPORT G_MODULE_EXPORT __attribute__ ((visibility("default")))
 #else
-#define PANEL_SYMBOL_EXPORT
+#define PANEL_SYMBOL_EXPORT G_MODULE_EXPORT
 #endif
 
 /* make api compatible with 4.4 panel */



More information about the Xfce4-commits mailing list