[Xfce4-commits] <xfce4-mixer:master> Avoid unused variable warning when buildwing without keybinder (bug #9544)

Guido Berhoerster noreply at xfce.org
Sat Dec 22 11:54:01 CET 2012


Updating branch refs/heads/master
         to 1f1226f034b4f6e541df01afec8d8ceb1e56f9fb (commit)
       from 807367beb9e36d0f63af4bb0d2246c085b971121 (commit)

commit 1f1226f034b4f6e541df01afec8d8ceb1e56f9fb
Author: Guido Berhoerster <guido+xfce at berhoerster.name>
Date:   Sat Dec 22 11:34:46 2012 +0100

    Avoid unused variable warning when buildwing without keybinder (bug #9544)

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

diff --git a/panel-plugin/xfce-mixer-plugin.c b/panel-plugin/xfce-mixer-plugin.c
index f34a252..bc3f353 100644
--- a/panel-plugin/xfce-mixer-plugin.c
+++ b/panel-plugin/xfce-mixer-plugin.c
@@ -363,7 +363,9 @@ xfce_mixer_plugin_set_property (GObject      *object,
   gchar              *track_label = NULL;
   GstMixerTrack      *track = NULL;
   XfceMixerTrackType  track_type = G_TYPE_INVALID;
+#ifdef HAVE_KEYBINDER
   gboolean            enable_keyboard_shortcuts;
+#endif
 
   switch(prop_id)
     {


More information about the Xfce4-commits mailing list