[gtk/color-glyph-fixes: 1/6] testcase




commit dc745be783c61f90447c2b608a75c25ce9bb5b13
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jul 31 15:52:39 2021 -0400

    testcase

 tests/simple.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/simple.c b/tests/simple.c
index 062afdc9fa..693a0ccbf9 100644
--- a/tests/simple.c
+++ b/tests/simple.c
@@ -44,13 +44,13 @@ main (int argc, char *argv[])
 
   gtk_init ();
 
+  g_object_set (gtk_settings_get_default (), "gtk-font-name", "SN Kh SONY Moul", NULL);
   window = gtk_window_new ();
-  gtk_window_set_title (GTK_WINDOW (window), "hello world");
   gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
   g_signal_connect (window, "destroy", G_CALLBACK (quit_cb), &done);
 
   button = gtk_button_new ();
-  gtk_button_set_label (GTK_BUTTON (button), "hello world");
+  gtk_button_set_label (GTK_BUTTON (button), "A");
   gtk_widget_set_margin_top (button, 10);
   gtk_widget_set_margin_bottom (button, 10);
   gtk_widget_set_margin_start (button, 10);


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