[Xfce4-commits] <thunar:master> Remove unused variable now uca uses gicons.

Nick Schermer noreply at xfce.org
Tue Sep 25 21:32:01 CEST 2012


Updating branch refs/heads/master
         to 1d65c006f8cfe2fd772609d9939756a34f63710d (commit)
       from 8732210f0ed171d2b8a55e3d69e64d88b0de15bd (commit)

commit 1d65c006f8cfe2fd772609d9939756a34f63710d
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Sep 25 21:30:39 2012 +0200

    Remove unused variable now uca uses gicons.

 plugins/thunar-uca/thunar-uca-provider.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/plugins/thunar-uca/thunar-uca-provider.c b/plugins/thunar-uca/thunar-uca-provider.c
index d6d71f3..8072c1f 100644
--- a/plugins/thunar-uca/thunar-uca-provider.c
+++ b/plugins/thunar-uca/thunar-uca-provider.c
@@ -197,7 +197,6 @@ thunar_uca_provider_get_file_actions (ThunarxMenuProvider *menu_provider,
   GList               *actions = NULL;
   GList               *paths;
   GList               *lp;
-  gchar               *icon_name;
   gchar               *tooltip;
   gchar               *label;
   gchar               *name;
@@ -212,7 +211,6 @@ thunar_uca_provider_get_file_actions (ThunarxMenuProvider *menu_provider,
           /* determine the label, tooltip and stock-id for the item */
           gtk_tree_model_get (GTK_TREE_MODEL (uca_provider->model), &iter,
                               THUNAR_UCA_MODEL_COLUMN_NAME, &label,
-                              THUNAR_UCA_MODEL_COLUMN_ICON_NAME, &icon_name,
                               THUNAR_UCA_MODEL_COLUMN_GICON, &gicon,
                               THUNAR_UCA_MODEL_COLUMN_DESCRIPTION, &tooltip,
                               -1);
@@ -245,7 +243,6 @@ thunar_uca_provider_get_file_actions (ThunarxMenuProvider *menu_provider,
           actions = g_list_prepend (actions, action);
 
           /* cleanup */
-          g_free (icon_name);
           g_free (tooltip);
           g_free (label);
           g_free (name);


More information about the Xfce4-commits mailing list