1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Fri, 15 Jul 2022 20:34:59 +0200
Subject: trivial: Turn is_{em,code}_text fields into bitfields
Origin: https://github.com/hughsie/appstream-glib/pull/446
Applied-upstream: 0.8.1, commit:8d39640032752bf81d648d018ff115aa8d495957
Bug-Debian: https://bugs.debian.org/1037206
---
libappstream-glib/as-node.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c
index c5eb8a1..5e19337 100644
--- a/libappstream-glib/as-node.c
+++ b/libappstream-glib/as-node.c
@@ -555,8 +555,8 @@ typedef struct {
AsNode *current;
AsNodeFromXmlFlags flags;
const gchar * const *locales;
- guint8 is_em_text;
- guint8 is_code_text;
+ guint8 is_em_text:1;
+ guint8 is_code_text:1;
} AsNodeToXmlHelper;
/**
|