[nautilus] view: remove unused variable
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] view: remove unused variable
- Date: Sat, 24 Jan 2015 01:08:46 +0000 (UTC)
commit 192b7225563660b64a1cd4332ff9de2a803751a5
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]