mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Fix so children don't get bogus draws.
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkpaned.c: Fix so children don't get bogus draws.
This commit is contained in:
parent
6b411f4b47
commit
03a7c4551b
@ -1,3 +1,7 @@
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
||||
Mon Mar 23 01:08:30 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_class_init): leave container_class->add and
|
||||
|
@ -1,3 +1,7 @@
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
||||
Mon Mar 23 01:08:30 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_class_init): leave container_class->add and
|
||||
|
@ -1,3 +1,7 @@
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
||||
Mon Mar 23 01:08:30 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_class_init): leave container_class->add and
|
||||
|
@ -1,3 +1,7 @@
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
||||
Mon Mar 23 01:08:30 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_class_init): leave container_class->add and
|
||||
|
@ -1,3 +1,7 @@
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
||||
Mon Mar 23 01:08:30 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_class_init): leave container_class->add and
|
||||
|
@ -1,3 +1,7 @@
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
||||
Mon Mar 23 01:08:30 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_class_init): leave container_class->add and
|
||||
|
@ -1,3 +1,7 @@
|
||||
Sun Mar 22 21:00:43 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtkpaned.c: Fix so children don't get bogus draws.
|
||||
|
||||
Mon Mar 23 01:08:30 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_class_init): leave container_class->add and
|
||||
|
@ -260,8 +260,9 @@ gtk_paned_expose (GtkWidget *widget,
|
||||
gtk_widget_event (paned->child2, (GdkEvent*) &child_event);
|
||||
|
||||
/* redraw the groove if necessary */
|
||||
child_event.area = paned->groove_rectangle;
|
||||
if (gtk_widget_intersect (widget, &event->area, &child_event.area))
|
||||
if (gdk_rectangle_intersect (&paned->groove_rectangle,
|
||||
&event->area,
|
||||
&child_event.area))
|
||||
gtk_widget_draw (widget, &child_event.area);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user