forked from AuroraMiddleware/gtk
fix float argument collection (always casted to doubles upon argument
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org> * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument collection (always casted to doubles upon argument passing).
This commit is contained in:
parent
34b7b5d74e
commit
8792bbbd28
@ -1,3 +1,8 @@
|
||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||
collection (always casted to doubles upon argument passing).
|
||||
|
||||
Sun Jul 12 05:59:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.c (gtk_type_new): call the base classes'
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||
collection (always casted to doubles upon argument passing).
|
||||
|
||||
Sun Jul 12 05:59:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.c (gtk_type_new): call the base classes'
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||
collection (always casted to doubles upon argument passing).
|
||||
|
||||
Sun Jul 12 05:59:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.c (gtk_type_new): call the base classes'
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||
collection (always casted to doubles upon argument passing).
|
||||
|
||||
Sun Jul 12 05:59:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.c (gtk_type_new): call the base classes'
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||
collection (always casted to doubles upon argument passing).
|
||||
|
||||
Sun Jul 12 05:59:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.c (gtk_type_new): call the base classes'
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||
collection (always casted to doubles upon argument passing).
|
||||
|
||||
Sun Jul 12 05:59:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.c (gtk_type_new): call the base classes'
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||
collection (always casted to doubles upon argument passing).
|
||||
|
||||
Sun Jul 12 05:59:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtktypeutils.c (gtk_type_new): call the base classes'
|
||||
|
@ -33,7 +33,7 @@ gtk_arg_collect_value (GtkType fundamental_type,
|
||||
error_msg = g_strdup ("invalid untyped argument");
|
||||
break;
|
||||
case GTK_TYPE_NONE:
|
||||
error_msg = g_strdup ("invalid argument type `void'");
|
||||
/* error_msg = g_strdup ("invalid argument type `void'"); */
|
||||
break;
|
||||
case GTK_TYPE_CHAR:
|
||||
GTK_VALUE_CHAR (*arg) = va_arg (*var_args, gchar);
|
||||
@ -60,7 +60,8 @@ gtk_arg_collect_value (GtkType fundamental_type,
|
||||
GTK_VALUE_ULONG (*arg) = va_arg (*var_args, gulong);
|
||||
break;
|
||||
case GTK_TYPE_FLOAT:
|
||||
GTK_VALUE_FLOAT (*arg) = va_arg (*var_args, gfloat);
|
||||
/* GTK_VALUE_FLOAT (*arg) = va_arg (*var_args, gfloat); */
|
||||
GTK_VALUE_FLOAT (*arg) = va_arg (*var_args, gdouble);
|
||||
break;
|
||||
case GTK_TYPE_DOUBLE:
|
||||
GTK_VALUE_DOUBLE (*arg) = va_arg (*var_args, gdouble);
|
||||
|
Loading…
Reference in New Issue
Block a user