GNOME Bugzilla – Bug 171423
Erroneous GstGError datatype for "error" callback
Last modified: 2005-11-10 10:53:49 UTC
In the Reference Manual for GstElement at http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#GstElement-error the datatype for the 3rd parameter is stated as GstGError but it should be GError. As I understood it, there is no such datatype as GstGError. Still it occurs in 10 files in the gstreamer-0.8.9 tarball, including gsterror.c but I can't tell which are just derivatives or which is the source of the error.
OK, I see, it says GstGError because we register a type for the error callback, and we use our own prefix because of namespace concerns (we don't want to conflict with other GError type registration). What's the usual way to do this? gpointer? Just s/GstGError/GError/ in gsterror.c and live with possible bad side-effects?
No update on this bug since March, and head documentation have moved to 0.9 since then. Closing.