[Xfce4-commits] [panel-plugins/xfce4-wavelan-plugin] 03/09: Remove compat code for panel < 4.9
noreply at xfce.org
noreply at xfce.org
Sun May 1 18:06:16 CEST 2016
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch master
in repository panel-plugins/xfce4-wavelan-plugin.
commit ac1fd94292504e0ffd47218d6a4948ee8e8addd1
Author: Landry Breuil <landry at xfce.org>
Date: Sun May 1 18:01:04 2016 +0200
Remove compat code for panel < 4.9
---
panel-plugin/wavelan.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 298093d..28e5603 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -42,12 +42,6 @@
#include <sys/socket.h>
#include <ifaddrs.h>
-#ifdef LIBXFCE4PANEL_CHECK_VERSION
-#if LIBXFCE4PANEL_CHECK_VERSION (4,9,0)
-#define HAS_PANEL_49
-#endif
-#endif
-
#define BORDER 8
typedef struct
{
@@ -416,10 +410,8 @@ wavelan_set_size(XfcePanelPlugin* plugin, int size, t_wavelan *wavelan)
{
int border_width, image_size;
DBG("wavelan_set_size(%d)", size);
-#ifdef HAS_PANEL_49
size /= xfce_panel_plugin_get_nrows(plugin);
xfce_panel_plugin_set_small (plugin, TRUE);
-#endif
border_width = size > 26 ? 2 : 1;
wavelan->size = size;
image_size = wavelan->size - (2 * border_width);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list