builder: Avoid a pointless call

pspec->name is guaranteed to be interned already.
This commit is contained in:
Matthias Clasen
2021-09-19 22:13:00 -04:00
parent 2c2d03a8d7
commit 5c3bb42612

View File

@@ -546,7 +546,7 @@ gtk_builder_get_parameters (GtkBuilder *builder,
for (guint i = 0; i < properties->len; i++)
{
PropertyInfo *prop = g_ptr_array_index (properties, i);
const char *property_name = g_intern_string (prop->pspec->name);
const char *property_name = prop->pspec->name;
GValue property_value = G_VALUE_INIT;
if (prop->value)