mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 06:32:10 +01:00
Remove a redundant branch
Since the name has been interned already at pspec creation time, we can just call g_intern_string().
This commit is contained in:
parent
af299df44e
commit
4e97c96654
@ -333,10 +333,7 @@ on_source_notify (GObject *gobject,
|
||||
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;
|
||||
@ -377,10 +374,7 @@ on_target_notify (GObject *gobject,
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user