<wingo> i thought _get gave you a copy of the string --- he's right

Original commit message from CVS:
<wingo> i thought _get gave you a copy of the string --- he's right
This commit is contained in:
Benjamin Otte 2002-02-06 15:02:26 +00:00
parent 25ffd7dfba
commit 27d973f2bf

View file

@ -52,6 +52,7 @@ property_change_callback (GObject *object, GstObject *orig, GParamSpec *pspec)
gchar *str;
g_object_get (orig, pspec->name, &str, NULL);
g_print ("%s: %s = \"%s\"\n", GST_OBJECT_NAME (orig), pspec->name, str);
g_free (str);
} else if (G_IS_PARAM_SPEC_CHAR (pspec)) {
gchar str;
g_object_get (orig, pspec->name, &str, NULL);