Commit 9e1fbc93 authored by Cody Russell's avatar Cody Russell Committed by Cody Russell

Change queue_resize() to queue_draw(), and add a check for child2 != NULL

2008-01-31  Cody Russell  <bratsche@gnome.org>

        * gtk/gtkpaned.c (gtk_paned_set_position):
        Change queue_resize() to queue_draw(), and add a check for
        child2 != NULL in case someone calls this before there is
        a child packed in there.  (#144269 again)


svn path=/trunk/; revision=19449
parent 53fa8e31
2008-01-31 Cody Russell <bratsche@gnome.org>
* gtk/gtkpaned.c (gtk_paned_set_position):
Change queue_resize() to queue_draw(), and add a check for
child2 != NULL in case someone calls this before there is
a child packed in there. (#144269 again)
2008-01-31 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
......
......@@ -1235,7 +1235,10 @@ gtk_paned_set_position (GtkPaned *paned,
#ifdef G_OS_WIN32
/* Hacky work-around for bug #144269 */
gtk_widget_queue_resize (paned->child2);
if (paned->child2 != NULL)
{
gtk_widget_queue_draw (paned->child2);
}
#endif
}
......
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