[gtk: 1/2] gtk-demo: Fix incorrect use of g_strdup_printf
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] gtk-demo: Fix incorrect use of g_strdup_printf
- Date: Tue, 26 Nov 2019 07:12:10 +0000 (UTC)
commit 25e4174a3849dc73d64570f8c73b4c8b441b5ca5
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Nov 26 10:11:28 2019 +1300
gtk-demo: Fix incorrect use of g_strdup_printf
Was broken in a refactoring in 4a2f313
demos/gtk-demo/font_features.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/gtk-demo/font_features.c b/demos/gtk-demo/font_features.c
index 3fdc0ec558..ebc99c0f99 100644
--- a/demos/gtk-demo/font_features.c
+++ b/demos/gtk-demo/font_features.c
@@ -880,7 +880,7 @@ add_instance (hb_face_t *face,
name_id = hb_ot_var_named_instance_get_subfamily_name_id (face, index);
hb_ot_name_get_utf8 (face, name_id, HB_LANGUAGE_INVALID, &name_len, name);
- instance->name = g_strdup_printf (name);
+ instance->name = g_strdup (name);
instance->index = index;
g_hash_table_add (instances, instance);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]