[gimp] libgimpwidgets: reorder enum GimpIntStoreColumns
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpwidgets: reorder enum GimpIntStoreColumns
- Date: Tue, 19 Nov 2019 20:32:01 +0000 (UTC)
commit c287fb6239aea8dce374cee64fe08df9c863016e
Author: Michael Natterer <mitch gimp org>
Date: Tue Nov 19 21:06:05 2019 +0100
libgimpwidgets: reorder enum GimpIntStoreColumns
so LABEL and ABBREV are next to each other.
libgimpwidgets/gimpintstore.c | 2 +-
libgimpwidgets/gimpintstore.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgimpwidgets/gimpintstore.c b/libgimpwidgets/gimpintstore.c
index 627db640e9..14edc2bfe9 100644
--- a/libgimpwidgets/gimpintstore.c
+++ b/libgimpwidgets/gimpintstore.c
@@ -148,11 +148,11 @@ gimp_int_store_constructed (GObject *object)
types[GIMP_INT_STORE_VALUE] = G_TYPE_INT;
types[GIMP_INT_STORE_LABEL] = G_TYPE_STRING;
+ types[GIMP_INT_STORE_ABBREV] = G_TYPE_STRING;
types[GIMP_INT_STORE_ICON_NAME] = G_TYPE_STRING;
types[GIMP_INT_STORE_PIXBUF] = GDK_TYPE_PIXBUF;
types[GIMP_INT_STORE_USER_DATA] = (priv->user_data_type != G_TYPE_NONE ?
priv->user_data_type : G_TYPE_POINTER);
- types[GIMP_INT_STORE_ABBREV] = G_TYPE_STRING;
gtk_list_store_set_column_types (GTK_LIST_STORE (store),
GIMP_INT_STORE_NUM_COLUMNS, types);
diff --git a/libgimpwidgets/gimpintstore.h b/libgimpwidgets/gimpintstore.h
index 0456b4005b..c5791b6092 100644
--- a/libgimpwidgets/gimpintstore.h
+++ b/libgimpwidgets/gimpintstore.h
@@ -33,10 +33,10 @@ G_BEGIN_DECLS
* GimpIntStoreColumns:
* @GIMP_INT_STORE_VALUE: the integer value
* @GIMP_INT_STORE_LABEL: a human-readable label
+ * @GIMP_INT_STORE_ABBREV: an abbreviated label
* @GIMP_INT_STORE_ICON_NAME: an icon name
* @GIMP_INT_STORE_PIXBUF: a #GdkPixbuf
* @GIMP_INT_STORE_USER_DATA: arbitrary user data
- * @GIMP_INT_STORE_ABBREV: an abbreviated label
* @GIMP_INT_STORE_NUM_COLUMNS: the number of columns
*
* The column types of #GimpIntStore.
@@ -45,10 +45,10 @@ typedef enum
{
GIMP_INT_STORE_VALUE,
GIMP_INT_STORE_LABEL,
+ GIMP_INT_STORE_ABBREV,
GIMP_INT_STORE_ICON_NAME,
GIMP_INT_STORE_PIXBUF,
GIMP_INT_STORE_USER_DATA,
- GIMP_INT_STORE_ABBREV,
GIMP_INT_STORE_NUM_COLUMNS
} GimpIntStoreColumns;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]