Handle widget being NULL. Pointed out by Wouter Bolsterlee.
* gtk/gtkpaned.c (get_child_panes): Handle widget being NULL. Pointed out by Wouter Bolsterlee. svn path=/trunk/; revision=22419
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2009-02-27 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
Bug 572996 – crash in Home Folder: Trying to open the sidebar
|
||||||
|
|
||||||
|
* gtk/gtkpaned.c (get_child_panes): Handle widget being NULL.
|
||||||
|
Pointed out by Wouter Bolsterlee.
|
||||||
|
|
||||||
2009-02-27 Matthias Clasen <mclasen@redhat.com>
|
2009-02-27 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Bug 572972 – GtkRecentChooserDefault: memory leak in
|
Bug 572972 – GtkRecentChooserDefault: memory leak in
|
||||||
|
@ -1890,7 +1890,7 @@ static void
|
|||||||
get_child_panes (GtkWidget *widget,
|
get_child_panes (GtkWidget *widget,
|
||||||
GList **panes)
|
GList **panes)
|
||||||
{
|
{
|
||||||
if (!GTK_WIDGET_REALIZED (widget))
|
if (!widget || !GTK_WIDGET_REALIZED (widget))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (GTK_IS_PANED (widget))
|
if (GTK_IS_PANED (widget))
|
||||||
|
Reference in New Issue
Block a user