mirror of https://github.com/GNOME/gimp.git
app: use gimp_is_restored() rather than object variables.
Since commit 4473951d4b
, the function check for both initialized and
restored variables. So let's use this.
This commit is contained in:
parent
f90efdf9d6
commit
de6e37ebb5
|
@ -331,7 +331,7 @@ gimp_dbus_service_process_idle (GimpDBusService *service)
|
|||
{
|
||||
IdleData *data;
|
||||
|
||||
if (! service->gimp->initialized || ! service->gimp->restored)
|
||||
if (! gimp_is_restored (service->gimp))
|
||||
{
|
||||
if (! service->timeout_source)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue