[gnome-commander] GnomeCmdFileList: drop a noop assignment



commit 685c53c2f30dbcf06bbd97dabf00442e17c5d0a2
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Jun 13 23:11:40 2010 +0200

    GnomeCmdFileList: drop a noop assignment

 src/gnome-cmd-file-selector.cc |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 660871b..b8473b9 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -856,13 +856,11 @@ gboolean GnomeCmdFileSelector::can_forward()
 
 void GnomeCmdFileSelector::set_active(gboolean value)
 {
-    GnomeCmdFileList *list = file_list();
-
     priv->active = value;
 
     if (value)
     {
-        gtk_widget_grab_focus (*file_list());
+        gtk_widget_grab_focus (*list);
         list->select_row(GTK_CLIST (list)->focus_row);
     }
     else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]