[gtksourceview/master-msvc: 1/4] gtksourcemap.c: Fix builds without FontConfig
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/master-msvc: 1/4] gtksourcemap.c: Fix builds without FontConfig
- Date: Fri, 22 Oct 2021 03:16:07 +0000 (UTC)
commit e97665d4cfe032094fc016cecb2c7660f0aaf41b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Oct 22 11:03:34 2021 +0800
gtksourcemap.c: Fix builds without FontConfig
We define ENABLE_FONT_CONFIG to be 0 when FontConfig is not found, so fix the
test condition.
gtksourceview/gtksourcemap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/gtksourcemap.c b/gtksourceview/gtksourcemap.c
index b741d9e5..968f2c0f 100644
--- a/gtksourceview/gtksourcemap.c
+++ b/gtksourceview/gtksourcemap.c
@@ -1191,7 +1191,7 @@ gtk_source_map_constructed (GObject *object)
{
G_OBJECT_CLASS (gtk_source_map_parent_class)->constructed (object);
-#ifdef ENABLE_FONT_CONFIG
+#if ENABLE_FONT_CONFIG
load_override_font (GTK_SOURCE_MAP (object));
#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]