[nautilus/wip/gaction_] view: remove unused variable
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/gaction_] view: remove unused variable
- Date: Wed, 21 Jan 2015 14:06:43 +0000 (UTC)
commit b6a51015ef0eef31e8d9a927d70af8abf7584249
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jan 20 23:26:44 2015 -0800
view: remove unused variable
src/nautilus-view.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index f093a34..4e88f92 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -4351,7 +4351,6 @@ add_template_to_templates_menus (NautilusView *view,
GMenu *menu)
{
char *tmp, *uri, *name;
- char *escaped_label;
GdkPixbuf *mimetype_icon;
char *action_name, *detailed_action_name;
CreateTemplateParameters *parameters;
@@ -4365,8 +4364,6 @@ add_template_to_templates_menus (NautilusView *view,
uri = nautilus_file_get_uri (file);
action_name = nautilus_escape_action_name (uri, "template_");
- escaped_label = eel_str_double_underscores (name);
-
parameters = create_template_parameters_new (file, view);
action = G_ACTION (g_simple_action_new (action_name, NULL));
@@ -4391,7 +4388,6 @@ add_template_to_templates_menus (NautilusView *view,
g_menu_append_item (menu, menu_item);
- g_free (escaped_label);
g_free (name);
g_free (uri);
g_free (action_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]