adapted clist pixmap clipping

* gtk/gtkctree.c (draw_row): adapted clist pixmap clipping

        * gtk/gtknotebook.h (struct _GtkNotebookClass):
        * gtk/gtknotebook.c (gtk_real_notebook_switch_page):
        added missing argument (according to Joseph Coleman's bug report)

        * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
        function to fix notebook focus handling
This commit is contained in:
Lars Hamann
1998-06-10 21:48:21 +00:00
parent 344572dc71
commit 6b61461a40
10 changed files with 325 additions and 113 deletions

View File

@ -62,6 +62,7 @@ struct _GtkNotebook
guint click_child : 2;
guint button : 2;
guint need_timer : 1;
guint child_has_focus : 1;
};
struct _GtkNotebookClass
@ -69,7 +70,8 @@ struct _GtkNotebookClass
GtkContainerClass parent_class;
void (* switch_page) (GtkNotebook *notebook,
GtkNotebookPage *page);
GtkNotebookPage *page,
gint page_num);
};
struct _GtkNotebookPage