[gnome-commander/gcmd-1-3] noop: code cleanup
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-commander/gcmd-1-3] noop: code cleanup
- Date: Tue, 14 Jul 2009 22:19:58 +0000 (UTC)
commit a76309206a66708528075503f63d3c2ef8ee14a8
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Wed Jul 15 00:16:33 2009 +0200
noop: code cleanup
src/gnome-cmd-file-selector.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 62f93ab..3218e5e 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -333,7 +333,7 @@ drag_data_received (GtkWidget *widget,
guint32 time,
GnomeCmdFileSelector *fs)
{
- GtkCList *clist = GTK_CLIST (fs->file_list());
+ GtkCList *clist = *fs->file_list();
GnomeCmdFile *f;
GnomeCmdDir *to, *cwd;
GList *uri_list = NULL;
@@ -1008,11 +1008,11 @@ static void on_dir_list_ok (GnomeCmdDir *dir, GList *files, GnomeCmdFileSelector
if (!fs->priv->active)
{
GTK_CLIST (fs->file_list())->focus_row = -1;
- gtk_clist_unselect_all (GTK_CLIST (fs->file_list()));
+ gtk_clist_unselect_all (*fs->file_list());
}
if (fs->priv->sel_first_file && fs->priv->active)
- gtk_clist_select_row (GTK_CLIST (fs->file_list()), 0, 0);
+ gtk_clist_select_row (*fs->file_list(), 0, 0);
fs->update_selected_files_label();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]