forked from AuroraMiddleware/gtk
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:
parent
08db83d2ac
commit
3a8c0e370b
@ -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>
|
||||
|
||||
Bug 572972 – GtkRecentChooserDefault: memory leak in
|
||||
|
@ -1890,7 +1890,7 @@ static void
|
||||
get_child_panes (GtkWidget *widget,
|
||||
GList **panes)
|
||||
{
|
||||
if (!GTK_WIDGET_REALIZED (widget))
|
||||
if (!widget || !GTK_WIDGET_REALIZED (widget))
|
||||
return;
|
||||
|
||||
if (GTK_IS_PANED (widget))
|
||||
|
Loading…
Reference in New Issue
Block a user