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:
Tim-Philipp Müller 2013-04-13 12:00:12 +01:00
parent f43b756f39
commit 21e584696d

View file

@ -903,7 +903,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 = "* ";