[Xfce4-commits] <xfce4-generic-slider:master> Preprocessor directives were reversed

Connor Behan noreply at xfce.org
Thu Mar 1 04:08:01 CET 2012


Updating branch refs/heads/master
         to 1c5e4a6e3eb8294eb0b11b90d199da99ec259bc7 (commit)
       from b49a1f62fe9499f3586f464e1b9cf4033bf3bccb (commit)

commit 1c5e4a6e3eb8294eb0b11b90d199da99ec259bc7
Author: Connor Behan <connor.behan at gmail.com>
Date:   Wed Feb 29 19:03:19 2012 -0800

    Preprocessor directives were reversed

 generic-slider.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/generic-slider.c b/generic-slider.c
index fc5fb29..b4913e2 100644
--- a/generic-slider.c
+++ b/generic-slider.c
@@ -781,9 +781,9 @@ static void generic_slider_construct(XfcePanelPlugin *plugin) {
 	xfce_panel_plugin_menu_show_configure (plugin);
 	
 #if defined (LIBXFCE4PANEL_CHECK_VERSION) && LIBXFCE4PANEL_CHECK_VERSION (4,9,0)
-	g_signal_connect(plugin, "orientation-changed", G_CALLBACK(generic_slider_orientation_changed), generic_slider);
+	g_signal_connect(plugin, "mode-changed", G_CALLBACK(generic_slider_orientation_changed), generic_slider);
 #else	
-	g_signal_connect(plugin, "mode-changed", G_CALLBACK(generic_slider_mode_changed), generic_slider);
+	g_signal_connect(plugin, "orientation-changed", G_CALLBACK(generic_slider_mode_changed), generic_slider);
 #endif
 	g_signal_connect(plugin, "configure-plugin", G_CALLBACK(generic_slider_properties_dialog), generic_slider);
 	g_signal_connect(plugin, "size-changed", G_CALLBACK(generic_slider_set_size), NULL);


More information about the Xfce4-commits mailing list