After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656029 - gst_bus_set_sync_handler is set to introspection=0
gst_bus_set_sync_handler is set to introspection=0
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.35
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-05 13:52 UTC by Evan Dandrea
Modified: 2011-08-09 07:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Evan Dandrea 2011-08-05 13:52:07 UTC
gst_bus_set_sync_handler is marked as not being introspectable.  According to the --warn-all flag on g-ir-scanner, this is due to the scope not being set for the func parameter.
Comment 1 Sebastian Dröge (slomo) 2011-08-09 07:46:10 UTC
You should use the sync-message signal on GstBus instead, together with gst_bus_enable_sync_message_emission(). Using gst_bus_set_sync_handler() is currently not possible with GI because the scope of the callback can't be expressed with GI (the callback and user data has to be valid until the bus is destroyed or something else is set as callback/user_data).
Comment 2 Evan Dandrea 2011-08-09 07:48:02 UTC
Ah, understood.  Thanks for taking the time to give a detailed reply.