Since the name has been interned already at pspec creation time,
we can just call g_intern_string().
if (binding->is_frozen)
return;
- if (pspec->flags & G_PARAM_STATIC_NAME)
- p_name = g_intern_static_string (pspec->name);
- else
- p_name = g_intern_string (pspec->name);
+ p_name = g_intern_string (pspec->name);
if (p_name != binding->source_property)
return;
if (binding->is_frozen)
return;
- if (pspec->flags & G_PARAM_STATIC_NAME)
- p_name = g_intern_static_string (pspec->name);
- else
- p_name = g_intern_string (pspec->name);
+ p_name = g_intern_string (pspec->name);
if (p_name != binding->target_property)
return;