[gnome-commander/gcmd-1-3] noop: code cleanup
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-3] noop: code cleanup
- Date: Wed, 29 Jul 2009 22:04:36 +0000 (UTC)
commit b3e04252f1ca1b02e272bae04425dfae1bc08d9c
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Tue Jul 28 22:52:53 2009 +0200
noop: code cleanup
src/gnome-cmd-file-list.cc | 2 +-
src/gnome-cmd-file-list.h | 2 +-
src/gnome-cmd-file-selector.cc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 8aad67f..ae8511b 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -1456,7 +1456,7 @@ GnomeCmdFileList::ColumnID GnomeCmdFileList::get_sort_column()
inline void add_file_to_clist (GnomeCmdFileList *fl, GnomeCmdFile *f, gint in_row)
{
- GtkCList *clist = GTK_CLIST (fl);
+ GtkCList *clist = *fl;
FileFormatData data(f,FALSE);
diff --git a/src/gnome-cmd-file-list.h b/src/gnome-cmd-file-list.h
index 34ebf81..7535a88 100644
--- a/src/gnome-cmd-file-list.h
+++ b/src/gnome-cmd-file-list.h
@@ -151,7 +151,7 @@ struct GnomeCmdFileList
void show_dir_tree_size(GnomeCmdFile *f);
void show_visible_tree_sizes();
- void show_column(ColumnID col, gboolean value) { gtk_clist_set_column_visibility (GTK_CLIST (this), col, value); }
+ void show_column(ColumnID col, gboolean value) { gtk_clist_set_column_visibility (*this, col, value); }
ColumnID get_sort_column();
static guint get_column_default_width(ColumnID col);
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index c62f1a5..c94d80c 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -1419,7 +1419,7 @@ void GnomeCmdFileSelector::set_active(gboolean value)
list->select_row(GTK_CLIST (list)->focus_row);
}
else
- gtk_clist_unselect_all (GTK_CLIST (list));
+ gtk_clist_unselect_all (*list);
gnome_cmd_dir_indicator_set_active (GNOME_CMD_DIR_INDICATOR (dir_indicator), value);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]