mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:56:14 +00:00
object: Notify name change when using _set_name()
There was a 0.11 FIXME about notifying the name change or removing that function. Clearly we can't remove this function, so let's notify it. https://bugzilla.gnome.org/show_bug.cgi?id=766923
This commit is contained in:
parent
6bfb88b410
commit
446778464b
1 changed files with 2 additions and 4 deletions
|
@ -623,10 +623,8 @@ gst_object_set_name (GstObject * object, const gchar * name)
|
||||||
GST_OBJECT_UNLOCK (object);
|
GST_OBJECT_UNLOCK (object);
|
||||||
result = gst_object_set_name_default (object);
|
result = gst_object_set_name_default (object);
|
||||||
}
|
}
|
||||||
/* FIXME-0.11: this misses a g_object_notify (object, "name"); unless called
|
|
||||||
* from gst_object_set_property.
|
g_object_notify (G_OBJECT (object), "name");
|
||||||
* Ideally remove such custom setters (or make it static).
|
|
||||||
*/
|
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
/* error */
|
/* error */
|
||||||
|
|
Loading…
Reference in a new issue