[Bug 788132] DynamicSignal: use NativeType property instead of doing unsafe pointer trickery

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 25 13:35:58 UTC 2017


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

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 360354:
 --> (https://bugzilla.gnome.org/review?bug=788132&attachment=360354)

::: sources/custom/DynamicSignal.cs
@@ -335,3 @@
-                type = (*(IntPtr*) ((GLib.Object.GTypeInstance*)
o.Handle)->g_class);
-            }
-            GType gtype = new GType (type);

Does o.NativeType also get the actual type from the instance, or only the type
of the C# wrapper object (e.g. GstPlaybin2 is wrapped in a GstElement C#
wrapper object, both having different GTypes and the latter not having all the
GstPlaybin2 signals).

-- 
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