mirror of https://github.com/GNOME/gimp.git
app: Avoid crash when using Windows -> Recently Closed Docks
This is not a proper fix for anything, it is just avoidance of a crash.
This commit is contained in:
parent
fe58e525b8
commit
7e94bb3ef2
|
@ -416,7 +416,8 @@ gimp_session_info_restore (GimpSessionInfo *info,
|
|||
info->p->open = FALSE;
|
||||
info->p->screen = DEFAULT_SCREEN;
|
||||
|
||||
if (! info->p->factory_entry->dockable)
|
||||
if (info->p->factory_entry &&
|
||||
! info->p->factory_entry->dockable)
|
||||
{
|
||||
GIMP_LOG (DIALOG_FACTORY, "restoring toplevel \"%s\" (info %p)",
|
||||
info->p->factory_entry->identifier,
|
||||
|
|
Loading…
Reference in New Issue