From 0e9c3629528eb270d9a601448749c609ddb54e3f Mon Sep 17 00:00:00 2001 From: Cody Russell Date: Sat, 1 Dec 2007 22:33:56 +0000 Subject: [PATCH] Merged from trunk: 2007-12-1 Cody Russell Merged from trunk: * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]: On Windows, queue a redraw of child2 whenever we set the pane handle position. This is unfortunately kind of hacky, but solves the visual artifacts that were occuring on at least certain types of child widgets (e.g., text views and tree views) that are inside horizontal or vertical panes. (#144269) svn path=/branches/gtk-2-12/; revision=19096 --- ChangeLog | 12 ++++++++++++ gtk/gtkpaned.c | 5 +++++ 2 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6094e7ac37..75ec0160cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2007-12-1 Cody Russell + + Merged from trunk: + + * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]: + On Windows, queue a redraw of child2 whenever we set + the pane handle position. This is unfortunately kind + of hacky, but solves the visual artifacts that were + occuring on at least certain types of child widgets + (e.g., text views and tree views) that are inside + horizontal or vertical panes. (#144269) + 2007-11-28 Tor Lillqvist Merged from trunk: diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c index 9c611713d3..1752de0cea 100644 --- a/gtk/gtkpaned.c +++ b/gtk/gtkpaned.c @@ -1232,6 +1232,11 @@ gtk_paned_set_position (GtkPaned *paned, g_object_thaw_notify (object); gtk_widget_queue_resize (GTK_WIDGET (paned)); + +#ifdef G_OS_WIN32 + /* Hacky work-around for bug #144269 */ + gtk_widget_queue_resize (paned->child2); +#endif } /**