[gnome-commander] noop: code cleanup
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: code cleanup
- Date: Sat, 17 Sep 2011 14:32:32 +0000 (UTC)
commit 453ab4010671d548aa444a44964c57e9b175bf81
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sat Sep 17 16:31:57 2011 +0200
noop: code cleanup
src/gnome-cmd-file-list.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index c2527df..63cefe3 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -586,9 +586,9 @@ static void toggle_files_with_same_extension (GnomeCmdFileList *fl, gboolean sel
const gchar *ext1 = f->get_extension();
if (!ext1) return;
- for (GList *tmp=fl->get_visible_files(); tmp; tmp=tmp->next)
+ for (GList *i=fl->get_visible_files(); i; i=i->next)
{
- GnomeCmdFile *f = (GnomeCmdFile *) tmp->data;
+ GnomeCmdFile *f = (GnomeCmdFile *) i->data;
if (f && f->info)
{
@@ -1989,9 +1989,9 @@ void GnomeCmdFileList::invert_selection()
{
GnomeCmd::Collection<GnomeCmdFile *> sel = priv->selected_files;
- for (GList *tmp=get_visible_files(); tmp; tmp = tmp->next)
+ for (GList *i=get_visible_files(); i; i=i->next)
{
- GnomeCmdFile *f = (GnomeCmdFile *) tmp->data;
+ GnomeCmdFile *f = (GnomeCmdFile *) i->data;
if (f && f->info)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]