[svn r895] fixed bug with uint properties trunk
authorrenatofilho
Tue Jan 15 17:44:34 2008 +0000 (2008-01-15)
branchtrunk
changeset 88983851e17c385
parent 888 f1af7f8cd7d9
child 890 6b565181036e
[svn r895] fixed bug with uint properties
gmyth-stream/gmencoder/src/gmencoder.c
     1.1 --- a/gmyth-stream/gmencoder/src/gmencoder.c	Mon Jan 07 18:49:22 2008 +0000
     1.2 +++ b/gmyth-stream/gmencoder/src/gmencoder.c	Tue Jan 15 17:44:34 2008 +0000
     1.3 @@ -228,6 +228,9 @@
     1.4      case G_TYPE_INT:
     1.5          g_value_set_int(&p, atoi(prop_val));
     1.6          break;
     1.7 +    case G_TYPE_UINT:
     1.8 +        g_value_set_uint (&p, (guint) atoi(prop_val));
     1.9 +        break;
    1.10      case G_TYPE_ULONG:
    1.11          g_value_set_ulong (&p, atol(prop_val));
    1.12          break;