Added arg setting for UINT types.

Original commit message from CVS:
Added arg setting for UINT types.
This commit is contained in:
Trivial commit, anonymous here 2001-07-04 20:49:06 +00:00
parent 9bdf748820
commit 4594d70939

View file

@ -253,6 +253,12 @@ gst_util_set_object_arg (GObject *object, const gchar *name, const gchar *valu
g_object_set (G_OBJECT (object), name, i, NULL);
break;
}
case G_TYPE_UINT: {
guint i;
sscanf (value, "%u", &i);
g_object_set (G_OBJECT (object), name, i, NULL);
break;
}
case G_TYPE_LONG: {
glong i;
sscanf (value, "%ld", &i);