leave container_class->add and container_class->remove untouched if we

Mon Mar 23 01:08:30 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkclist.c (gtk_clist_class_init): leave container_class->add and
                container_class->remove untouched if we don't implement them.

                        * gtk/gtkcontainer.c (gtk_container_class_init): add missing NULL
                                initialization for the class method (*foreach). implement a default
                                        handler to output a warning for (*add) and (*remove).
This commit is contained in:
Tim Janik
1998-03-23 03:31:11 +00:00
committed by Tim Janik
parent b78286eab5
commit 6b411f4b47
12 changed files with 155 additions and 16 deletions

View File

@ -355,8 +355,8 @@ gtk_clist_class_init (GtkCListClass * klass)
widget_class->size_request = gtk_clist_size_request;
widget_class->size_allocate = gtk_clist_size_allocate;
container_class->add = NULL;
container_class->remove = NULL;
/* container_class->add = NULL; use the default GtkContainerClass warning */
/* container_class->remove = NULL; use the default GtkContainerClass warning */
container_class->foreach = gtk_clist_foreach;
klass->select_row = real_select_row;