[Xfce4-commits] <xfce4-panel:xfce-4.8> Directorymenu: Remove unused varaible.

Nick Schermer noreply at xfce.org
Sun Mar 27 13:42:05 CEST 2011


Updating branch refs/heads/xfce-4.8
         to fc0273a50899539ef5d3ef5c05f8a1952b051182 (commit)
       from 0a47b1e887d1f26d808cbc16d67ded098264bdf7 (commit)

commit fc0273a50899539ef5d3ef5c05f8a1952b051182
Author: Sean Middleditch <sean at middleditch.us>
Date:   Sun Mar 27 11:29:00 2011 +0200

    Directorymenu: Remove unused varaible.
    
    (cherry picked from commit ee39a027284070a467961439a5862509171828d9)

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

diff --git a/plugins/directorymenu/directorymenu.c b/plugins/directorymenu/directorymenu.c
index 0193e29..b41043e 100644
--- a/plugins/directorymenu/directorymenu.c
+++ b/plugins/directorymenu/directorymenu.c
@@ -224,7 +224,6 @@ directory_menu_plugin_set_property (GObject      *object,
   gchar                *display_name;
   gchar               **array;
   guint                 i;
-  GFile                *base_directory;
   const gchar          *path;
 
   switch (prop_id)
@@ -238,8 +237,6 @@ directory_menu_plugin_set_property (GObject      *object,
         g_object_unref (G_OBJECT (plugin->base_directory));
       plugin->base_directory = g_file_new_for_commandline_arg (path);
 
-      base_directory = g_file_new_for_commandline_arg (g_value_get_string (value));
-
       display_name = g_file_get_parse_name (plugin->base_directory);
       gtk_widget_set_tooltip_text (plugin->button, display_name);
 



More information about the Xfce4-commits mailing list