gtk4-demo: Fix font features animation

This commit is contained in:
Matthias Clasen 2022-06-30 21:11:49 -04:00
parent a284dc9f31
commit 4070e794d2

View File

@ -1067,7 +1067,7 @@ add_axis (hb_face_t *hb_face,
gtk_widget_set_hexpand (axis_entry, FALSE);
gtk_grid_attach (GTK_GRID (demo->variations_grid), axis_entry, 2, i, 1, 1);
axis = g_new (Axis, 1);
axis = g_new0 (Axis, 1);
axis->tag = ax->tag;
axis->adjustment = adjustment;
axis->default_value = ax->default_value;