[gtk] Move the ifdef to the right spot



commit 53c9eb5a5b008aa64bf385aca367ccce1592b298
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 4 23:24:49 2019 +0000

    Move the ifdef to the right spot

 gtk/gtkcellrenderertext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c
index f38a1c2bf3..a5e662fd03 100644
--- a/gtk/gtkcellrenderertext.c
+++ b/gtk/gtkcellrenderertext.c
@@ -1521,11 +1521,11 @@ get_layout (GtkCellRendererText *celltext,
           uline = PANGO_UNDERLINE_SINGLE;
           break;
 
-#if PANGO_VERSION_CHECK(1,45,0)
         case PANGO_UNDERLINE_SINGLE:
           uline = PANGO_UNDERLINE_DOUBLE;
           break;
 
+#if PANGO_VERSION_CHECK(1,45,0)
         case PANGO_UNDERLINE_SINGLE_LINE:
           uline = PANGO_UNDERLINE_DOUBLE_LINE;
           break;


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