[Xfce4-commits] <xfce4-panel:master> Directorymenu: Remove unused varaible.
Nick Schermer
noreply at xfce.org
Sun Mar 27 11:50:04 CEST 2011
Updating branch refs/heads/master
to ee39a027284070a467961439a5862509171828d9 (commit)
from 093eeba9369baf653bd1da0d48c63eff1c4cef86 (commit)
commit ee39a027284070a467961439a5862509171828d9
Author: Sean Middleditch <sean at middleditch.us>
Date: Sun Mar 27 11:29:00 2011 +0200
Directorymenu: Remove unused varaible.
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