[Xfce4-commits] [apps/xfce4-screenshooter] 18/38: Remove panel version check macros

noreply at xfce.org noreply at xfce.org
Fri Apr 28 03:07:14 CEST 2017


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

andre pushed a commit to branch master
in repository apps/xfce4-screenshooter.

commit 13d38a20914355a9a493b1bfb51d617c08300bc8
Author: Andre Miranda <andre42m at gmail.com>
Date:   Thu Mar 30 21:04:52 2017 -0300

    Remove panel version check macros
---
 panel-plugin/screenshooter-plugin.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/panel-plugin/screenshooter-plugin.c b/panel-plugin/screenshooter-plugin.c
index af2726f..0f16eec 100644
--- a/panel-plugin/screenshooter-plugin.c
+++ b/panel-plugin/screenshooter-plugin.c
@@ -117,10 +117,8 @@ cb_set_size (XfcePanelPlugin *plugin, int size, PluginData *pd)
   GdkPixbuf *pb;
   int width;
 
-#if defined (LIBXFCE4PANEL_CHECK_VERSION) && LIBXFCE4PANEL_CHECK_VERSION (4,9,0)
   /* reduce the size of the plugin to a single row */
   size /= xfce_panel_plugin_get_nrows (plugin);
-#endif
 
   width = size - 2 - 2 * MAX (gtk_widget_get_style(pd->button)->xthickness,
                               gtk_widget_get_style(pd->button)->ythickness);
@@ -346,10 +344,8 @@ screenshooter_plugin_construct (XfcePanelPlugin *plugin)
   pd->sd = sd;
   pd->plugin = plugin;
 
-#if defined (LIBXFCE4PANEL_CHECK_VERSION) && LIBXFCE4PANEL_CHECK_VERSION (4,9,0)
   /* make the plugin fit a single row */
   xfce_panel_plugin_set_small (plugin, TRUE);
-#endif
 
   TRACE ("Initialize the text domain");
   xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");

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


More information about the Xfce4-commits mailing list