summaryrefslogtreecommitdiff
path: root/gtk/gtksignal.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-08-24 05:27:29 +0000
committerTim Janik <timj@src.gnome.org>1998-08-24 05:27:29 +0000
commit02a871bc3104655c339af984ea111ddc11ced545 (patch)
tree509355697bf71a948b32c2b47d12059101a2ac95 /gtk/gtksignal.c
parentdb10ace6c86c01e8dc08eb76044ad0e64deb3efb (diff)
downloadgdk-pixbuf-02a871bc3104655c339af984ea111ddc11ced545.tar.gz
begin the parameter elipsis (...) after the first argument name. this
Mon Aug 24 02:36:53 1998 Tim Janik <timj@gtk.org> * gtk/gtkarg.h: * gtk/gtkarg.c: * gtk/gtkwidget.h: * gtk/gtkwidget.c: * gtk/gtkobject.h: * gtk/gtkobject.c: * gtk/gtkcontainer.h: * gtk/gtkcontainer.c: (gtk_object_new): (gtk_object_set): (gtk_widget_new): (gtk_widget_set): (gtk_container_add_with_args): (gtk_container_child_set): begin the parameter elipsis (...) after the first argument name. this change is source compatible, since it was always required, even as NULL. (gtk_args_collect): (gtk_object_args_collect): (gtk_container_child_args_collect): changed prototypes to pass first_arg_name, also, pass va_list variable by value (portability concerns). callers changed. * gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as a huge macro GTK_ARG_COLLECT_VALUE() <shrug>. this is needed because we can't pass va_list variables by reference for portability reasons.
Diffstat (limited to 'gtk/gtksignal.c')
-rw-r--r--gtk/gtksignal.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtksignal.c b/gtk/gtksignal.c
index 1830c741b..b3488f8f6 100644
--- a/gtk/gtksignal.c
+++ b/gtk/gtksignal.c
@@ -1780,9 +1780,10 @@ gtk_signal_collect_params (GtkArg *params,
params->type = *(param_types++);
params->name = NULL;
- error = gtk_arg_collect_value (GTK_FUNDAMENTAL_TYPE (params->type),
- params,
- &var_args);
+ GTK_ARG_COLLECT_VALUE (GTK_FUNDAMENTAL_TYPE (params->type),
+ params,
+ var_args,
+ error);
if (error)
{
failed = TRUE;