[Xfce4-commits] <xfce4-xkb-plugin:master> Remove global child variable.
Jérôme Guelfucci
noreply at xfce.org
Fri Apr 29 09:46:05 CEST 2011
Updating branch refs/heads/master
to d76749ac7bbe95b1de8d1d44550419605407dce9 (commit)
from fabca18a1aea90347d67a967d0ef56769ea32de7 (commit)
commit d76749ac7bbe95b1de8d1d44550419605407dce9
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Fri Apr 29 08:28:29 2011 +0200
Remove global child variable.
panel-plugin/xfce4-xkb-plugin.h | 2 +-
panel-plugin/xkb-settings-dialog.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/xfce4-xkb-plugin.h b/panel-plugin/xfce4-xkb-plugin.h
index eb5c339..4dc2042 100644
--- a/panel-plugin/xfce4-xkb-plugin.h
+++ b/panel-plugin/xfce4-xkb-plugin.h
@@ -80,7 +80,7 @@ typedef struct
GtkWidget *edit_layout_btn;
} t_xkb;
-GtkTreeIter iter, child;
+GtkTreeIter iter;
/*
* NOTE: The t_xkb->button_size field is due to xfce panel 4.4.1
diff --git a/panel-plugin/xkb-settings-dialog.c b/panel-plugin/xkb-settings-dialog.c
index fe4bcc4..0b14278 100644
--- a/panel-plugin/xkb-settings-dialog.c
+++ b/panel-plugin/xkb-settings-dialog.c
@@ -737,6 +737,7 @@ xkb_settings_add_variant_to_available_layouts_tree (XklConfigRegistry * config_r
XklConfigItem * config_item,
GtkTreeStore *treestore)
{
+ GtkTreeIter child;
char *utf_variant_name = xci_desc_to_utf8 (config_item);
gtk_tree_store_append (treestore, &child, &iter);
More information about the Xfce4-commits
mailing list