Don't map the event window if the notebook isn't mapped. (#113980, Richard

Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
        map the event window if the notebook isn't mapped. (#113980,
        Richard Reich)
This commit is contained in:
Owen Taylor 2003-06-02 23:05:45 +00:00 committed by Owen Taylor
parent 375a6f4836
commit a99d7348c6
6 changed files with 32 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
map the event window if the notebook isn't mapped. (#113980,
Richard Reich)
2003-06-02 Sven Neumann <sven@gimp.org>
* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.

View File

@ -1,3 +1,9 @@
Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
map the event window if the notebook isn't mapped. (#113980,
Richard Reich)
2003-06-02 Sven Neumann <sven@gimp.org>
* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.

View File

@ -1,3 +1,9 @@
Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
map the event window if the notebook isn't mapped. (#113980,
Richard Reich)
2003-06-02 Sven Neumann <sven@gimp.org>
* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.

View File

@ -1,3 +1,9 @@
Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
map the event window if the notebook isn't mapped. (#113980,
Richard Reich)
2003-06-02 Sven Neumann <sven@gimp.org>
* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.

View File

@ -1,3 +1,9 @@
Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
map the event window if the notebook isn't mapped. (#113980,
Richard Reich)
2003-06-02 Sven Neumann <sven@gimp.org>
* gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.

View File

@ -1380,7 +1380,8 @@ gtk_notebook_size_allocate (GtkWidget *widget,
gdk_window_move_resize (notebook->event_window,
position.x, position.y,
position.width, position.height);
gdk_window_show_unraised (notebook->event_window);
if (GTK_WIDGET_MAPPED (notebook))
gdk_window_show_unraised (notebook->event_window);
}
else
gdk_window_hide (notebook->event_window);