diff options
author | Tim Janik <timj@gtk.org> | 1998-10-03 17:04:41 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-10-03 17:04:41 +0000 |
commit | c62ab96bcc0c9817a338bc28e24c15c77b5f0890 (patch) | |
tree | 030574406603a04f02a3facdd07e1402355f75ab /gtk/gtksignal.c | |
parent | 879683b67429e56cadc53691a2845bb329e0ea97 (diff) | |
download | gtk+-c62ab96bcc0c9817a338bc28e24c15c77b5f0890.tar.gz |
for unknown foreign fundamental types, collect an argument of the type
Sat Oct 3 17:54:48 1998 Tim Janik <timj@gtk.org>
* gtk/gtkargcollector.c (GTK_ARG_COLLECT_VALUE): for unknown foreign
fundamental types, collect an argument of the type returned from
gtk_type_get_varargs_type(). removed the first macro argument which
was just the same as the fundamental type of the *arg passed to
the macro.
* gtk/gtkarg.c (gtk_args_collect):
* gtk/gtksignal.c (gtk_signal_collect_params): changed callers.
* gtk/gtktypeutils.h:
* gtk/gtktypeutils.c: new functions gtk_type_set_varargs_type() and
gtk_type_get_varargs_type() to set and query the varargs collect
type used for a fundamental type, registered outside of Gtk.
* gtk/gtkmisc.c (gtk_misc_class_init): changed object arguments
GtkMisc::xalign and GtkMisc::yalign from GTK_TYPE_DOUBLE to
GTK_TYPE_FLOAT.
* gtk/gtkframe.c (gtk_frame_class_init): changed object arguments
GtkFrame::label_xalign and GtkFrame::label_yalign from GTK_TYPE_DOUBLE
to GTK_TYPE_FLOAT.
Diffstat (limited to 'gtk/gtksignal.c')
-rw-r--r-- | gtk/gtksignal.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtksignal.c b/gtk/gtksignal.c index b3488f8f6b..f87f337018 100644 --- a/gtk/gtksignal.c +++ b/gtk/gtksignal.c @@ -1778,10 +1778,9 @@ gtk_signal_collect_params (GtkArg *params, { register gchar *error; - params->type = *(param_types++); params->name = NULL; - GTK_ARG_COLLECT_VALUE (GTK_FUNDAMENTAL_TYPE (params->type), - params, + params->type = *(param_types++); + GTK_ARG_COLLECT_VALUE (params, var_args, error); if (error) |