[Xfce4-commits] <xfce4-mixer:master> Fix compiler warning.

Nick Schermer noreply at xfce.org
Mon Jan 16 19:36:01 CET 2012


Updating branch refs/heads/master
         to 51b690bb20d2c91eadd34260cd11c504700258a5 (commit)
       from 14840db54252bbccbe79558632967226f6c59f3a (commit)

commit 51b690bb20d2c91eadd34260cd11c504700258a5
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Jan 16 19:34:11 2012 +0100

    Fix compiler warning.

 panel-plugin/xfce-mixer-plugin.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/panel-plugin/xfce-mixer-plugin.c b/panel-plugin/xfce-mixer-plugin.c
index 2308c2e..f6cf276 100644
--- a/panel-plugin/xfce-mixer-plugin.c
+++ b/panel-plugin/xfce-mixer-plugin.c
@@ -229,13 +229,8 @@ static gboolean
 xfce_mixer_plugin_size_changed (XfceMixerPlugin *mixer_plugin,
                                 gint             size)
 {
-  GtkOrientation orientation;
-
   g_return_val_if_fail (mixer_plugin != NULL, FALSE);
 
-  /* Get the orientation of the panel */
-  orientation = xfce_panel_plugin_get_orientation (mixer_plugin->plugin);
-
   /* Determine size for the volume button icons */
   size -= 2 + 2 * MAX (mixer_plugin->button->style->xthickness, mixer_plugin->button->style->ythickness);
 


More information about the Xfce4-commits mailing list