[gnome-commander] GnomeCmdFileList: return GtkSortType in get_sort_order()
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] GnomeCmdFileList: return GtkSortType in get_sort_order()
- Date: Sun, 18 Jul 2010 14:57:47 +0000 (UTC)
commit dc96df783f974c19b1658d52f1ad58edeaac986e
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Jul 18 16:52:52 2010 +0200
GnomeCmdFileList: return GtkSortType in get_sort_order()
src/gnome-cmd-file-list.cc | 4 ++--
src/gnome-cmd-file-list.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 076dabb..de6f194 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -1628,9 +1628,9 @@ GnomeCmdFileList::ColumnID GnomeCmdFileList::get_sort_column() const
}
-gboolean GnomeCmdFileList::get_sort_order() const
+GtkSortType GnomeCmdFileList::get_sort_order() const
{
- return priv->sort_raising[priv->current_col];
+ return (GtkSortType) priv->sort_raising[priv->current_col];
}
diff --git a/src/gnome-cmd-file-list.h b/src/gnome-cmd-file-list.h
index 5a6b013..99aa184 100644
--- a/src/gnome-cmd-file-list.h
+++ b/src/gnome-cmd-file-list.h
@@ -156,7 +156,7 @@ struct GnomeCmdFileList
void show_column(ColumnID col, gboolean value) { gtk_clist_set_column_visibility (*this, col, value); }
ColumnID get_sort_column() const;
- gboolean get_sort_order() const;
+ GtkSortType get_sort_order() const;
static guint get_column_default_width(ColumnID col);
void invalidate_tree_size();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]