[gtk/wip/baedert/for-master: 34/58] Move GTK_BORDER_STYLE_HIDDEN before GTK_BORDER_STYLE_SOLID



commit e01b3ff526c00813e624191279c213640ff132bb
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 edf1c2d373..42a7abf25e 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -784,10 +784,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
@@ -798,10 +798,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]