[gnome-commander] noop: code cleanup
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-commander] noop: code cleanup
- Date: Tue, 14 Jul 2009 22:20:48 +0000 (UTC)
commit 07b0b50a6248dc8c5d1a2c583e6d6d3d21f4792f
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 a6b0dd1..66b32a8 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]