[Bug 766923] object: Notify name change when using _set_name()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 26 17:34:01 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766923

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #328578|none                        |reviewed
             status|                            |

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Comment on attachment 328578
  --> https://bugzilla.gnome.org/attachment.cgi?id=328578
object: Notify name change when using _set_name()

>-  /* 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;

I wonder about the "unless called from gst_object_set_property" - did you check
if we get notified twice if set using g_object_set()?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list