mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
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:
parent
375a6f4836
commit
a99d7348c6
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user