From: Timm Bäder Date: Wed, 29 Jan 2020 09:34:28 +0000 (+0100) Subject: Move GTK_BORDER_STYLE_HIDDEN before GTK_BORDER_STYLE_SOLID X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~65 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=60095ade9b1bdb761ebe2ac260b9ca3be543768e;p=gtk4.git 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". --- 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,