[gtk+/wip/matthiasc/node-dump] css style tests: Force font-family to default value
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/node-dump] css style tests: Force font-family to default value
- Date: Tue, 29 Dec 2015 04:27:30 +0000 (UTC)
commit 3279f6bb50e2783150d1456c8538ad95c2519911
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 28 16:52:31 2015 -0500
css style tests: Force font-family to default value
A few CSS properties take their effective initial value from
settings, so set them to make the value match the declared
initial.
testsuite/css/style/test-css-style.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/css/style/test-css-style.c b/testsuite/css/style/test-css-style.c
index cf9cc4d..c0470a1 100644
--- a/testsuite/css/style/test-css-style.c
+++ b/testsuite/css/style/test-css-style.c
@@ -243,6 +243,9 @@ main (int argc, char **argv)
gtk_test_init (&argc, &argv);
+ g_object_set (gtk_settings_get_default (),
+ "gtk-font-name", "Sans",
+ NULL);
if (argc < 2)
{
const char *basedir;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]