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:
@ -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;
|
||||
|
Reference in New Issue
Block a user