[nautilus/wip/csoriano/uncrustify: 8/9] window-slot: remove unused vars
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/csoriano/uncrustify: 8/9] window-slot: remove unused vars
- Date: Mon, 18 Apr 2016 17:09:41 +0000 (UTC)
commit 6d1426cbbb88c93fa3bf18421c3228f9cf43157c
Author: Carlos Soriano <csoriano gnome org>
Date: Mon Apr 18 10:15:18 2016 +0200
window-slot: remove unused vars
Having so many deprecation warnings obscure the real warnings... :/
Should run more frequently with those disabled.
src/nautilus-window-slot.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 9eeafba..27af46e 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -175,12 +175,10 @@ real_get_view_for_location (NautilusWindowSlot *self,
{
NautilusWindowSlotPrivate *priv;
- NautilusWindow *window;
NautilusView *view;
NautilusFile *file;
priv = nautilus_window_slot_get_instance_private (self);
- window = nautilus_window_slot_get_window (self);
file = nautilus_file_get (location);
view = NULL;
guint view_id;
@@ -509,13 +507,11 @@ nautilus_window_slot_handle_event (NautilusWindowSlot *self,
GdkEventKey *event)
{
NautilusWindowSlotPrivate *priv;
- NautilusWindow *window;
gboolean retval;
GAction *action;
priv = nautilus_window_slot_get_instance_private (self);
retval = FALSE;
- window = nautilus_window_slot_get_window (self);
action = g_action_map_lookup_action (G_ACTION_MAP (priv->slot_action_group),
"search-visible");
@@ -809,12 +805,10 @@ nautilus_window_slot_open_location_full (NautilusWindowSlot *self,
NautilusWindowSlotPrivate *priv;
GFile *old_location;
GList *old_selection;
- NautilusWindow *window;
priv = nautilus_window_slot_get_instance_private (self);
old_selection = NULL;
old_location = nautilus_window_slot_get_location (self);
- window = nautilus_window_slot_get_window (self);
if (priv->content_view) {
old_selection = nautilus_view_get_selection (priv->content_view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]