Commit 8e912b17 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Bug 558694 – Paned window splitter keynav broken

        * gtk/gtkpaned.c (get_child_panes): Don't add unrealized
        widgets.


svn path=/trunk/; revision=22015
parent 93517b61
2008-12-30 Matthias Clasen <mclasen@redhat.com>
Bug 558694 – Paned window splitter keynav broken
* gtk/gtkpaned.c (get_child_panes): Don't add unrealized
widgets.
2008-12-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstyle.c:
......
......@@ -1888,6 +1888,9 @@ static void
get_child_panes (GtkWidget *widget,
GList **panes)
{
if (!GTK_WIDGET_REALIZED (widget))
return;
if (GTK_IS_PANED (widget))
{
GtkPaned *paned = GTK_PANED (widget);
......@@ -1899,7 +1902,7 @@ get_child_panes (GtkWidget *widget,
else if (GTK_IS_CONTAINER (widget))
{
gtk_container_forall (GTK_CONTAINER (widget),
(GtkCallback)get_child_panes, panes);
(GtkCallback)get_child_panes, panes);
}
}
......
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