[devhelp] Preferences: reverse column order in the enum
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Preferences: reverse column order in the enum
- Date: Fri, 6 Apr 2018 16:10:36 +0000 (UTC)
commit daad0a32faba8fb776acc234025de861756ecf3d
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Apr 6 17:26:23 2018 +0200
Preferences: reverse column order in the enum
I prefer in that order.
src/dh-preferences.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/dh-preferences.c b/src/dh-preferences.c
index 05bb3f5..0a31abc 100644
--- a/src/dh-preferences.c
+++ b/src/dh-preferences.c
@@ -27,8 +27,8 @@
#include "dh-settings-app.h"
enum {
- COLUMN_TITLE = 0,
- COLUMN_BOOK,
+ COLUMN_BOOK = 0,
+ COLUMN_TITLE,
N_COLUMNS
};
@@ -414,8 +414,8 @@ init_bookshelf_store (DhPreferences *prefs)
g_assert (priv->bookshelf_store == NULL);
priv->bookshelf_store = gtk_list_store_new (N_COLUMNS,
- G_TYPE_STRING, /* Title */
- DH_TYPE_BOOK);
+ DH_TYPE_BOOK,
+ G_TYPE_STRING); /* Title */
gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (priv->bookshelf_store),
bookshelf_sort_func,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]