Skip to content
  • Tim Janik's avatar
    fix finding of child's page, since we have to validly deal with labels and · 8dfce459
    Tim Janik authored
    Tue Jul 31 22:59:33 2001  Tim Janik  <timj@gtk.org>
    
            * gtk/gtknotebook.c (gtk_notebook_get_child_property):
            (gtk_notebook_set_child_property): fix finding of child's page,
            since we have to validly deal with labels and menus here as well.
            (gtk_notebook_get_child_property): fix warning.
            (gtk_notebook_class_init): property tab_pack is of type
            GTK_TYPE_PACK_TYPE (enum) not boolean.
            (gtk_notebook_find_child): don't always warn, we might be looking
            for a label or menu child.
            (gtk_notebook_map): fix mapping of panel.
    
            * gtk/gtkwidget.c (gtk_widget_set_child_visible): always constrain
            widget's mapped state, regardless of the value being set equals
            old settings, since things like REALIZED(parent) or MAPPED(parent)
            may have changed since the old value was set. make it an error to
            invoke this function on a toplevel widget.
    8dfce459
To find the state of this project's repository at the time of any of these versions, check out the tags.