[gtk] Move GTK_BORDER_STYLE_HIDDEN before GTK_BORDER_STYLE_SOLID



commit 60095ade9b1bdb761ebe2ac260b9ca3be543768e
Author: Timm Bäder <mail baedert org>
Date:   Wed Jan 29 10:34:28 2020 +0100

    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".

 gtk/gtkenums.h | 4 ++--
 1 file 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]