[Xfce4-commits] [apps/xfce4-screenshooter] 03/06: Declare variable at the beginning of the function
noreply at xfce.org
noreply at xfce.org
Tue Dec 16 21:38:08 CET 2014
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch master
in repository apps/xfce4-screenshooter.
commit b0affb2c8fa4efbf85ce326503cba5b46e3aa2fc
Author: Landry Breuil <landry at xfce.org>
Date: Tue Dec 16 21:34:00 2014 +0100
Declare variable at the beginning of the function
---
panel-plugin/screenshooter-plugin.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/panel-plugin/screenshooter-plugin.c b/panel-plugin/screenshooter-plugin.c
index eec1043..50cefa8 100644
--- a/panel-plugin/screenshooter-plugin.c
+++ b/panel-plugin/screenshooter-plugin.c
@@ -115,13 +115,14 @@ static gboolean
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
- int width = size - 2 - 2 * MAX (pd->button->style->xthickness,
+ width = size - 2 - 2 * MAX (pd->button->style->xthickness,
pd->button->style->ythickness);
TRACE ("Get the icon from the theme");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list