Commit e82f8ece authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Propagate the event to unanchored children in the text window. (#302494,

2005-05-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
	the event to unanchored children in the text window.
	(#302494, Stephen Kennedy)
parent 20f9c58e
2005-05-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
the event to unanchored children in the text window.
(#302494, Stephen Kennedy)
2005-04-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
......
2005-05-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
the event to unanchored children in the text window.
(#302494, Stephen Kennedy)
2005-04-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
......
2005-05-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
the event to unanchored children in the text window.
(#302494, Stephen Kennedy)
2005-04-30 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
......
......@@ -4264,7 +4264,9 @@ gtk_text_view_expose_event (GtkWidget *widget, GdkEventExpose *event)
if (event->window == widget->window)
gtk_text_view_draw_focus (widget);
/* Propagate exposes to all children not in the buffer. */
/* Propagate exposes to all unanchored children.
* Anchored children are handled in gtk_text_view_paint().
*/
tmp_list = GTK_TEXT_VIEW (widget)->children;
while (tmp_list != NULL)
{
......@@ -4273,7 +4275,7 @@ gtk_text_view_expose_event (GtkWidget *widget, GdkEventExpose *event)
/* propagate_expose checks that event->window matches
* child->window
*/
if (vc->type != GTK_TEXT_WINDOW_TEXT)
if (!vc->anchor)
gtk_container_propagate_expose (GTK_CONTAINER (widget),
vc->widget,
event);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment