[Xfce4-commits] <xfce4-panel:devel> Use a symbols regex in the plugins too.
Nick Schermer
noreply at xfce.org
Fri Sep 25 21:58:05 CEST 2009
Updating branch refs/heads/devel
to b2574d81573f3019be708ae927f880f19ebdb07d (commit)
from f41183ecd28290cf15c7f80343b391bce18bae65 (commit)
commit b2574d81573f3019be708ae927f880f19ebdb07d
Author: Nick Schermer <nick at xfce.org>
Date: Fri Sep 25 21:55:42 2009 +0200
Use a symbols regex in the plugins too.
plugins/actions/Makefile.am | 1 +
plugins/clock/Makefile.am | 1 +
plugins/launcher/Makefile.am | 1 +
plugins/pager/Makefile.am | 1 +
plugins/separator/Makefile.am | 1 +
plugins/showdesktop/Makefile.am | 1 +
plugins/showdesktop/showdesktop.c | 2 +-
plugins/systray/Makefile.am | 1 +
plugins/tasklist/Makefile.am | 1 +
plugins/windowmenu/Makefile.am | 1 +
10 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/plugins/actions/Makefile.am b/plugins/actions/Makefile.am
index f4097ff..d1c7306 100644
--- a/plugins/actions/Makefile.am
+++ b/plugins/actions/Makefile.am
@@ -31,6 +31,7 @@ libactions_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+ -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
libactions_la_LIBADD = \
diff --git a/plugins/clock/Makefile.am b/plugins/clock/Makefile.am
index d974e13..7d74427 100644
--- a/plugins/clock/Makefile.am
+++ b/plugins/clock/Makefile.am
@@ -41,6 +41,7 @@ libclock_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+ -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
libclock_la_LIBADD = \
diff --git a/plugins/launcher/Makefile.am b/plugins/launcher/Makefile.am
index 31e547f..13e6593 100644
--- a/plugins/launcher/Makefile.am
+++ b/plugins/launcher/Makefile.am
@@ -39,6 +39,7 @@ liblauncher_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+ -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
liblauncher_la_LIBADD = \
diff --git a/plugins/pager/Makefile.am b/plugins/pager/Makefile.am
index e2001ee..122b1ad 100644
--- a/plugins/pager/Makefile.am
+++ b/plugins/pager/Makefile.am
@@ -33,6 +33,7 @@ libpager_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+ -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
libpager_la_LIBADD = \
diff --git a/plugins/separator/Makefile.am b/plugins/separator/Makefile.am
index 9aa3c02..171deb2 100644
--- a/plugins/separator/Makefile.am
+++ b/plugins/separator/Makefile.am
@@ -32,6 +32,7 @@ libseparator_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+ -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
libseparator_la_LIBADD = \
diff --git a/plugins/showdesktop/Makefile.am b/plugins/showdesktop/Makefile.am
index ff027fc..b387ad4 100644
--- a/plugins/showdesktop/Makefile.am
+++ b/plugins/showdesktop/Makefile.am
@@ -27,6 +27,7 @@ libshowdesktop_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+ -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
libshowdesktop_la_LIBADD = \
diff --git a/plugins/showdesktop/showdesktop.c b/plugins/showdesktop/showdesktop.c
index 0f3180e..92ae60b 100644
--- a/plugins/showdesktop/showdesktop.c
+++ b/plugins/showdesktop/showdesktop.c
@@ -88,7 +88,7 @@ show_desktop_plugin_init (ShowDesktopPlugin *plugin)
G_CALLBACK (show_desktop_plugin_screen_changed), NULL);
/* create the toggle button */
- button = plugin->button = xfce_create_panel_toggle_button ();
+ button = plugin->button = xfce_panel_create_toggle_button ();
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
gtk_container_add (GTK_CONTAINER (plugin), button);
g_signal_connect (G_OBJECT (button), "toggled",
diff --git a/plugins/systray/Makefile.am b/plugins/systray/Makefile.am
index 067e210..9f409f3 100644
--- a/plugins/systray/Makefile.am
+++ b/plugins/systray/Makefile.am
@@ -40,6 +40,7 @@ libsystray_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+ -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
libsystray_la_LIBADD = \
diff --git a/plugins/tasklist/Makefile.am b/plugins/tasklist/Makefile.am
index 980f0d7..2db5a69 100644
--- a/plugins/tasklist/Makefile.am
+++ b/plugins/tasklist/Makefile.am
@@ -34,6 +34,7 @@ libtasklist_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+ -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
libtasklist_la_LIBADD = \
diff --git a/plugins/windowmenu/Makefile.am b/plugins/windowmenu/Makefile.am
index 90bdffa..387d994 100644
--- a/plugins/windowmenu/Makefile.am
+++ b/plugins/windowmenu/Makefile.am
@@ -33,6 +33,7 @@ libwindowmenu_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
+ -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
libwindowmenu_la_LIBADD = \
More information about the Xfce4-commits
mailing list