[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 02/02: Fixed compilation errors with panel >=4.13 (bug #13585)

noreply at xfce.org noreply at xfce.org
Sun May 21 16:04:09 CEST 2017


This is an automated email from the git hooks/post-receive script.

a   n   d   r   z   e   j   r       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-pulseaudio-plugin.

commit 5f5e8542aa687409e576d3d278958360de2879fb
Author: Andrzej <andrzejr at xfce.org>
Date:   Sun May 21 15:03:45 2017 +0100

    Fixed compilation errors with panel >=4.13 (bug #13585)
---
 panel-plugin/pulseaudio-plugin.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/panel-plugin/pulseaudio-plugin.c b/panel-plugin/pulseaudio-plugin.c
index 6a756c3..f9bc383 100644
--- a/panel-plugin/pulseaudio-plugin.c
+++ b/panel-plugin/pulseaudio-plugin.c
@@ -241,12 +241,14 @@ pulseaudio_plugin_size_changed (XfcePanelPlugin *plugin,
 {
   PulseaudioPlugin *pulseaudio_plugin = PULSEAUDIO_PLUGIN (plugin);
   gint              icon_size;
+#if !LIBXFCE4PANEL_CHECK_VERSION (4,13,0)
   GtkStyleContext  *context;
   GtkBorder         padding;
   GtkBorder         border;
   gint              width;
   gint              xthickness;
   gint              ythickness;
+#endif
 
   /* The plugin only occupies a single row */
   size /= xfce_panel_plugin_get_nrows (plugin);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list