From 21e584696d9d63e0a35003e88687764e2d6f602e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 13 Apr 2013 12:00:12 +0100 Subject: [PATCH] gst-inspect: only add a '*' for non-'gpointer' pointers Spotted by Jose Antonio Santos Cadena. https://bugzilla.gnome.org/show_bug.cgi?id=697791 --- tools/gst-inspect.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 6b88c1e81c..fcf4724b11 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -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 = "* ";