summaryrefslogtreecommitdiff
path: root/gtk/gtkenums.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-01-29 10:34:28 +0100
committerMatthias Clasen <mclasen@redhat.com>2020-02-07 13:15:59 -0500
commit60095ade9b1bdb761ebe2ac260b9ca3be543768e (patch)
tree281a180a827c1343f1ee9e67202d330f804908ed /gtk/gtkenums.h
parent3a727eed7a08e37109d380670e3ac4e1ad6eafb4 (diff)
downloadgtk+-60095ade9b1bdb761ebe2ac260b9ca3be543768e.tar.gz
Move GTK_BORDER_STYLE_HIDDEN before GTK_BORDER_STYLE_SOLID
The simple case when drawing border is "solid or nothing", which we can now check for as simple as "style <= GTK_BORDER_STYE_SOLID".
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r--gtk/gtkenums.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 18e2ecd476..d4c3b4de2b 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -762,10 +762,10 @@ typedef enum
/**
* GtkBorderStyle:
* @GTK_BORDER_STYLE_NONE: No visible border
+ * @GTK_BORDER_STYLE_HIDDEN: Same as @GTK_BORDER_STYLE_NONE
* @GTK_BORDER_STYLE_SOLID: A single line segment
* @GTK_BORDER_STYLE_INSET: Looks as if the content is sunken into the canvas
* @GTK_BORDER_STYLE_OUTSET: Looks as if the content is coming out of the canvas
- * @GTK_BORDER_STYLE_HIDDEN: Same as @GTK_BORDER_STYLE_NONE
* @GTK_BORDER_STYLE_DOTTED: A series of round dots
* @GTK_BORDER_STYLE_DASHED: A series of square-ended dashes
* @GTK_BORDER_STYLE_DOUBLE: Two parallel lines with some space between them
@@ -776,10 +776,10 @@ typedef enum
*/
typedef enum {
GTK_BORDER_STYLE_NONE,
+ GTK_BORDER_STYLE_HIDDEN,
GTK_BORDER_STYLE_SOLID,
GTK_BORDER_STYLE_INSET,
GTK_BORDER_STYLE_OUTSET,
- GTK_BORDER_STYLE_HIDDEN,
GTK_BORDER_STYLE_DOTTED,
GTK_BORDER_STYLE_DASHED,
GTK_BORDER_STYLE_DOUBLE,