mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +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
f43b756f39
commit
21e584696d
1 changed files with 3 additions and 1 deletions
|
@ -903,7 +903,9 @@ print_signal_info (GstElement * element)
|
||||||
strlen (g_type_name (query->return_type)) + 24;
|
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_BOXED (query->return_type)
|
||||||
|| G_TYPE_IS_OBJECT (query->return_type)) {
|
|| G_TYPE_IS_OBJECT (query->return_type)) {
|
||||||
pmark = "* ";
|
pmark = "* ";
|
||||||
|
|
Loading…
Reference in a new issue