[gnome-commander] noop: code cleanup



commit 1c4dbf8e4ce997aceac7c024424d718d38ebd899
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri Nov 19 20:55:21 2010 +0100

    noop: code cleanup

 src/gnome-cmd-search-dialog.cc |    2 +-
 src/gnome-cmd-smb-net.cc       |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-search-dialog.cc b/src/gnome-cmd-search-dialog.cc
index 1a6e20a..95fe4fc 100644
--- a/src/gnome-cmd-search-dialog.cc
+++ b/src/gnome-cmd-search-dialog.cc
@@ -785,7 +785,7 @@ inline GtkWidget *create_combo_box_entry (GtkWidget *parent)
  */
 static void combo_box_insert_text (gpointer  data, gpointer  user_data)
 {
-  gtk_combo_box_append_text (GTK_COMBO_BOX (user_data), (gchar *) data);
+    gtk_combo_box_append_text (GTK_COMBO_BOX (user_data), (gchar *) data);
 }
 
 
diff --git a/src/gnome-cmd-smb-net.cc b/src/gnome-cmd-smb-net.cc
index a0f6839..4f37ae2 100644
--- a/src/gnome-cmd-smb-net.cc
+++ b/src/gnome-cmd-smb-net.cc
@@ -135,8 +135,7 @@ inline void rebuild_map ()
     entities = g_hash_table_new_full (
         (GHashFunc) str_hash, (GEqualFunc) str_ncase_equal, (GDestroyNotify) g_free, (GDestroyNotify) g_free);
 
-    GList *wgs = get_wgs ();
-    g_list_foreach (wgs, (GFunc) add_wg_to_map, NULL);
+    g_list_foreach (get_wgs (), (GFunc) add_wg_to_map, NULL);
 }
 
 



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