mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +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);
|
||||
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.
|
||||
* Ideally remove such custom setters (or make it static).
|
||||
*/
|
||||
|
||||
g_object_notify (G_OBJECT (object), "name");
|
||||
return result;
|
||||
|
||||
/* error */
|
||||
|
|
Loading…
Reference in a new issue