mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
ges: Stop using hash_table_steal_extended
This appeard in GLib 2.58 Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/99
This commit is contained in:
parent
314db9f1bd
commit
aaf2025c71
1 changed files with 2 additions and 1 deletions
|
@ -2293,12 +2293,13 @@ ges_timeline_element_remove_child_property (GESTimelineElement * self,
|
|||
g_return_val_if_fail (GES_IS_TIMELINE_ELEMENT (self), FALSE);
|
||||
g_return_val_if_fail (G_IS_PARAM_SPEC (pspec), FALSE);
|
||||
|
||||
if (!g_hash_table_steal_extended (self->priv->children_props, pspec,
|
||||
if (!g_hash_table_lookup_extended (self->priv->children_props, pspec,
|
||||
&key, &value)) {
|
||||
GST_WARNING_OBJECT (self, "No child property with pspec %p (%s) found",
|
||||
pspec, pspec->name);
|
||||
return FALSE;
|
||||
}
|
||||
g_hash_table_steal (self->priv->children_props, pspec);
|
||||
found_pspec = G_PARAM_SPEC (key);
|
||||
handler = (ChildPropHandler *) value;
|
||||
|
||||
|
|
Loading…
Reference in a new issue