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 52a5bd9b4b
commit f9a10c4dca

View file

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