forked from AuroraMiddleware/gtk
check that tab_label is not NULL before checking that it's notebook's
2006-05-10 Carlos Garnacho <carlosg@gnome.org> * gtk/gtknotebook.c: check that tab_label is not NULL before checking that it's notebook's child. Closes #341247.
This commit is contained in:
parent
4e8e3add5b
commit
f4cc71445a
@ -1,3 +1,8 @@
|
||||
2006-05-10 Carlos Garnacho <carlosg@gnome.org>
|
||||
|
||||
* gtk/gtknotebook.c: check that tab_label is not NULL before checking
|
||||
that it's notebook's child. Closes #341247.
|
||||
|
||||
Wed May 10 15:57:53 2006 Tim Janik <timj@imendio.com>
|
||||
|
||||
* applied unified patch for configurable scroll arrow sizes from
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-05-10 Carlos Garnacho <carlosg@gnome.org>
|
||||
|
||||
* gtk/gtknotebook.c: check that tab_label is not NULL before checking
|
||||
that it's notebook's child. Closes #341247.
|
||||
|
||||
Wed May 10 15:57:53 2006 Tim Janik <timj@imendio.com>
|
||||
|
||||
* applied unified patch for configurable scroll arrow sizes from
|
||||
|
@ -124,7 +124,7 @@ enum {
|
||||
#define PAGE_TOP_Y(_page_) (((GtkNotebookPage *) (_page_))->allocation.y)
|
||||
#define PAGE_BOTTOM_Y(_page_) (((GtkNotebookPage *) (_page_))->allocation.y + ((GtkNotebookPage *) (_page_))->allocation.height)
|
||||
#define PAGE_MIDDLE_Y(_page_) (((GtkNotebookPage *) (_page_))->allocation.y + ((GtkNotebookPage *) (_page_))->allocation.height / 2)
|
||||
#define NOTEBOOK_IS_TAB_LABEL_PARENT(_notebook_,_page_) (((GtkNotebookPage *) (_page_))->tab_label->parent == ((GtkWidget *) (_notebook_)))
|
||||
#define NOTEBOOK_IS_TAB_LABEL_PARENT(_notebook_,_page_) ((_page_)->tab_label != NULL && ((GtkNotebookPage *) (_page_))->tab_label->parent == ((GtkWidget *) (_notebook_)))
|
||||
|
||||
struct _GtkNotebookPage
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user