inspector: Fix a typo

When selecting the "ngl" renderer, the inspector was
saying Renderer: Unknown, due to a typo. Fix that.
This commit is contained in:
Matthias Clasen 2021-02-23 18:37:32 -05:00
parent e9ed874231
commit a4e7b03185

View File

@ -147,7 +147,7 @@ init_version (GtkInspectorGeneral *gen)
renderer = "Vulkan";
else if (strcmp (G_OBJECT_TYPE_NAME (gsk_renderer), "GskGLRenderer") == 0)
renderer = "GL";
else if (strcmp (G_OBJECT_TYPE_NAME (gsk_renderer), "GskNgltRenderer") == 0)
else if (strcmp (G_OBJECT_TYPE_NAME (gsk_renderer), "GskNglRenderer") == 0)
renderer = "NGL";
else if (strcmp (G_OBJECT_TYPE_NAME (gsk_renderer), "GskCairoRenderer") == 0)
renderer = "Cairo";