From 54e2d7a54e1e5f6339af801970001d421101647d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 16 Jun 2001 17:35:09 +0000 Subject: [PATCH] Pff, this doesn't seem to work... Original commit message from CVS: Pff, this doesn't seem to work... Can someone try to get a property from a GObject? --- tools/gstreamer-inspect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gstreamer-inspect.c b/tools/gstreamer-inspect.c index 94e6193709..aedc88ef0c 100644 --- a/tools/gstreamer-inspect.c +++ b/tools/gstreamer-inspect.c @@ -266,8 +266,8 @@ print_element_info (GstElementFactory *factory) g_object_get (G_OBJECT (element), param->name, &value, NULL); - printf(" %-40.40s: %d",param->name, value.g_type); - switch (value.g_type) { + printf(" %-40.40s: ",param->name); + switch (param->value_type) { case G_TYPE_STRING: printf("String (Default \"%s\")", g_value_get_string (&value));break; case G_TYPE_BOOLEAN: printf("Boolean (Default %s)", (g_value_get_boolean (&value)?"true":"false"));break; case G_TYPE_ULONG: printf("Unsigned Long (Default %lu)", g_value_get_ulong (&value));break;