[gtksourceview] tests: set default height/width for preview



commit 1541e94a292ee8251d7b31568753558a68fb6089
Author: Christian Hergert <chergert redhat com>
Date:   Tue Oct 12 11:03:46 2021 -0700

    tests: set default height/width for preview

 tests/test-preview.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/tests/test-preview.c b/tests/test-preview.c
index e2642d47..40271700 100644
--- a/tests/test-preview.c
+++ b/tests/test-preview.c
@@ -49,6 +49,8 @@ main (int argc,
        ids = gtk_source_style_scheme_manager_get_scheme_ids (manager);
 
        window = g_object_new (GTK_TYPE_WINDOW,
+                              "default-width", 120,
+                              "default-height", 500,
                               NULL);
        scroller = g_object_new (GTK_TYPE_SCROLLED_WINDOW,
                                 "propagate-natural-width", TRUE,


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