[gtk/glyphy2: 7/28] gtk-demo: Don't hardcode a title font




commit aee87afee5ec30070a38d3ac4401966af7c1210c
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 da6b5db73a..2ee93e3b3a 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]