[Xfce4-commits] <xfce4-xkb-plugin:master> Other missing bits for path rename...

Jérôme Guelfucci noreply at xfce.org
Thu Apr 28 21:26:20 CEST 2011


Updating branch refs/heads/master
         to fcdb970b2d3cd1e0d4a579dd583dcdc2c38d54cf (commit)
       from 2595027ebbe1795c25ec59cfc6de94aed9fde866 (commit)

commit fcdb970b2d3cd1e0d4a579dd583dcdc2c38d54cf
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Thu Apr 28 20:11:16 2011 +0200

    Other missing bits for path rename...

 panel-plugin/xkb-settings-dialog.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/xkb-settings-dialog.c b/panel-plugin/xkb-settings-dialog.c
index be2a532..4d8564e 100644
--- a/panel-plugin/xkb-settings-dialog.c
+++ b/panel-plugin/xkb-settings-dialog.c
@@ -807,8 +807,8 @@ xkb_settings_layout_dialog_run (void)
         gtk_tree_selection_get_selected (selection, &model, &iter);
         gtk_tree_model_get (model, &iter, AVAIL_LAYOUT_TREE_COL_ID, &id, -1);
 
-        path = gtk_tree_model_get_path (model, &iter);
-        if (gtk_tree_path_get_depth (path) == 1)
+        tree_path = gtk_tree_model_get_path (model, &iter);
+        if (gtk_tree_path_get_depth (tree_path) == 1)
         {
             strings[0] = id;
             strings[1] = "";
@@ -816,8 +816,8 @@ xkb_settings_layout_dialog_run (void)
         else
         {
             strings[1] = id;
-            gtk_tree_path_up(path);
-            gtk_tree_model_get_iter(model, &iter, path);
+            gtk_tree_path_up(tree_path);
+            gtk_tree_model_get_iter(model, &iter, tree_path);
             gtk_tree_model_get (model, &iter, AVAIL_LAYOUT_TREE_COL_ID, &id, -1);
             strings[0] = id;
         }



More information about the Xfce4-commits mailing list