mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-01 19:41:28 +00:00
gst-inspect: only add a '*' for non-'gpointer' pointers
Spotted by Jose Antonio Santos Cadena. https://bugzilla.gnome.org/show_bug.cgi?id=697791
This commit is contained in:
parent
52a5bd9b4b
commit
f9a10c4dca
|
@ -892,7 +892,9 @@ print_signal_info (GstElement * element)
|
|||
strlen (g_type_name (query->return_type)) + 24;
|
||||
|
||||
|
||||
if (G_TYPE_FUNDAMENTAL (query->return_type) == G_TYPE_POINTER
|
||||
if (query->return_type == G_TYPE_POINTER) {
|
||||
pmark = "";
|
||||
} else if (G_TYPE_FUNDAMENTAL (query->return_type) == G_TYPE_POINTER
|
||||
|| G_TYPE_IS_BOXED (query->return_type)
|
||||
|| G_TYPE_IS_OBJECT (query->return_type)) {
|
||||
pmark = "* ";
|
||||
|
|
Loading…
Reference in a new issue