mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 17:50:18 +00:00
Merge branch 'vfl-error' into 'master'
Fix message for VFL parser errors See merge request GNOME/gtk!1514
This commit is contained in:
commit
ff0909f366
@ -2016,14 +2016,7 @@ gtk_constraint_layout_add_constraints_from_descriptionv (GtkConstraintLayout *la
|
|||||||
char *squiggly = NULL;
|
char *squiggly = NULL;
|
||||||
|
|
||||||
if (range > 0)
|
if (range > 0)
|
||||||
{
|
squiggly = g_strnfill (range, '~');
|
||||||
squiggly = g_new (char, range + 1);
|
|
||||||
|
|
||||||
for (int r = 0; r < range; i++)
|
|
||||||
squiggly[r] = '~';
|
|
||||||
|
|
||||||
squiggly[range] = '\0';
|
|
||||||
}
|
|
||||||
|
|
||||||
g_set_error (error, GTK_CONSTRAINT_VFL_PARSER_ERROR,
|
g_set_error (error, GTK_CONSTRAINT_VFL_PARSER_ERROR,
|
||||||
internal_error->code,
|
internal_error->code,
|
||||||
|
Loading…
Reference in New Issue
Block a user