forked from AuroraMiddleware/gtk
Bug 558694 – Paned window splitter keynav broken
* gtk/gtkpaned.c (get_child_panes): Don't add unrealized widgets. svn path=/trunk/; revision=22015
This commit is contained in:
parent
93517b616d
commit
8e912b17cb
@ -1,3 +1,10 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user