[Xfce4-commits] [panel-plugins/xfce4-systemload-plugin] 07/07: Declaration before code
noreply at xfce.org
noreply at xfce.org
Fri Nov 21 10:11:37 CET 2014
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch master
in repository panel-plugins/xfce4-systemload-plugin.
commit 6f522991a869ac7489089be6d969f7e0b01bef77
Author: Landry Breuil <landry at xfce.org>
Date: Fri Nov 21 09:43:19 2014 +0100
Declaration before code
---
panel-plugin/systemload.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 92606e3..628947e 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -328,6 +328,7 @@ monitor_control_new(XfcePanelPlugin *plugin)
{
int count;
t_global_monitor *global;
+ GtkWidget* image;
global = g_new(t_global_monitor, 1);
#ifdef HAVE_UPOWER_GLIB
@@ -347,7 +348,7 @@ monitor_control_new(XfcePanelPlugin *plugin)
global->menu_item = gtk_image_menu_item_new_with_mnemonic(
_("Run _System Monitor"));
- GtkWidget* image = gtk_image_new_from_icon_name("utilities-system-monitor",
+ image = gtk_image_new_from_icon_name("utilities-system-monitor",
GTK_ICON_SIZE_MENU);
gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(global->menu_item), image);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list