projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c2d03a
)
builder: Avoid a pointless call
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 20 Sep 2021 02:13:00 +0000
(22:13 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 20 Sep 2021 02:13:00 +0000
(22:13 -0400)
pspec->name is guaranteed to be interned already.
gtk/gtkbuilder.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbuilder.c
b/gtk/gtkbuilder.c
index 7d357ce050d36e1bc9820303966c913400ca6d56..5487fa86dbf3cca2700c49d1d9a27677df9148ee 100644
(file)
--- a/
gtk/gtkbuilder.c
+++ b/
gtk/gtkbuilder.c
@@
-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)