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"; renderer = "Vulkan";
else if (strcmp (G_OBJECT_TYPE_NAME (gsk_renderer), "GskGLRenderer") == 0) else if (strcmp (G_OBJECT_TYPE_NAME (gsk_renderer), "GskGLRenderer") == 0)
renderer = "GL"; 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"; renderer = "NGL";
else if (strcmp (G_OBJECT_TYPE_NAME (gsk_renderer), "GskCairoRenderer") == 0) else if (strcmp (G_OBJECT_TYPE_NAME (gsk_renderer), "GskCairoRenderer") == 0)
renderer = "Cairo"; renderer = "Cairo";