Move the ifdef to the right spot
authorMatthias Clasen <mclasen@redhat.com>
Mon, 4 Nov 2019 23:24:49 +0000 (23:24 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 4 Nov 2019 23:24:49 +0000 (23:24 +0000)
gtk/gtkcellrenderertext.c

index f38a1c2bf39ff0c4f358983bf1557bd6ba83bbdd..a5e662fd03758270d1b0f60fc4c57ee9266a0bec 100644 (file)
@@ -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;