* gtk/gtkpaned.c (get_child_panes): Don't add unrealized
widgets.
svn path=/trunk/; revision=22015
+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:
get_child_panes (GtkWidget *widget,
GList **panes)
{
+ if (!GTK_WIDGET_REALIZED (widget))
+ return;
+
if (GTK_IS_PANED (widget))
{
GtkPaned *paned = GTK_PANED (widget);
else if (GTK_IS_CONTAINER (widget))
{
gtk_container_forall (GTK_CONTAINER (widget),
- (GtkCallback)get_child_panes, panes);
+ (GtkCallback)get_child_panes, panes);
}
}