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/gtkcontainer.h | |
parent | db10ace6c86c01e8dc08eb76044ad0e64deb3efb (diff) | |
download | gdk-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/gtkcontainer.h')
-rw-r--r-- | gtk/gtkcontainer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h index 8fe0babce..aecd268f4 100644 --- a/gtk/gtkcontainer.h +++ b/gtk/gtkcontainer.h @@ -174,6 +174,7 @@ void gtk_container_child_setv (GtkContainer *container, */ void gtk_container_add_with_args (GtkContainer *container, GtkWidget *widget, + const gchar *first_arg_name, ...); void gtk_container_addv (GtkContainer *container, GtkWidget *widget, @@ -181,6 +182,7 @@ void gtk_container_addv (GtkContainer *container, GtkArg *args); void gtk_container_child_set (GtkContainer *container, GtkWidget *child, + const gchar *first_arg_name, ...); @@ -199,7 +201,8 @@ void gtk_container_arg_get (GtkContainer *container, gchar* gtk_container_child_args_collect (GtkType object_type, GSList **arg_list_p, GSList **info_list_p, - gpointer var_args_p); + const gchar *first_arg_name, + va_list args); gchar* gtk_container_child_arg_get_info (GtkType object_type, const gchar *arg_name, GtkArgInfo **info_p); |