[gtk/wip/chergert/glyphy] gtk-demo: Don't hardcode a title font



commit bd2aa10b072fa6d3a36df0b99f6bc1e09737b17f
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Mar 18 00:59:57 2022 -0400

    gtk-demo: Don't hardcode a title font
    
    We want a large font size, but we don't have to
    hardcode Sans.

 demos/gtk-demo/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index a31ce36790..a7ea646244 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -512,7 +512,7 @@ load_file (const char *demoname,
 
   info_buffer = gtk_text_buffer_new (NULL);
   gtk_text_buffer_create_tag (info_buffer, "title",
-                              "font", "Sans 18",
+                              "size", 18 * 1024,
                               "pixels-below-lines", 10,
                               NULL);
 


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