diff options
author | Tim Janik <timj@gtk.org> | 1998-08-24 05:27:29 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-08-24 05:27:29 +0000 |
commit | 02a871bc3104655c339af984ea111ddc11ced545 (patch) | |
tree | 509355697bf71a948b32c2b47d12059101a2ac95 /gtk/gtkobject.h | |
parent | db10ace6c86c01e8dc08eb76044ad0e64deb3efb (diff) | |
download | gtk+-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/gtkobject.h')
-rw-r--r-- | gtk/gtkobject.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkobject.h b/gtk/gtkobject.h index fd38e30d75..3fe07f24db 100644 --- a/gtk/gtkobject.h +++ b/gtk/gtkobject.h @@ -242,6 +242,7 @@ guint gtk_object_class_user_signal_newv (GtkObjectClass *klass, guint nparams, GtkType *params); GtkObject* gtk_object_new (GtkType type, + const gchar *first_arg_name, ...); GtkObject* gtk_object_newv (GtkType object_type, guint n_args, @@ -272,6 +273,7 @@ void gtk_object_getv (GtkObject *object, * more than one c-function argument. */ void gtk_object_set (GtkObject *object, + const gchar *first_arg_name, ...); void gtk_object_setv (GtkObject *object, guint n_args, @@ -372,7 +374,8 @@ void gtk_object_arg_get (GtkObject *object, gchar* gtk_object_args_collect (GtkType object_type, GSList **arg_list_p, GSList **info_list_p, - gpointer var_args_p); + const gchar *first_arg_name, + va_list var_args); gchar* gtk_object_arg_get_info (GtkType object_type, const gchar *arg_name, GtkArgInfo **info_p); |