[gimp] app: use gimp_is_restored() rather than object variables.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: use gimp_is_restored() rather than object variables.
- Date: Sat, 12 Mar 2022 18:01:50 +0000 (UTC)
commit de6e37ebb503e255c8ffbbdbbda827e6af1c294f
Author: Jehan <jehan girinstud io>
Date: Sat Mar 12 18:59:36 2022 +0100
app: use gimp_is_restored() rather than object variables.
Since commit 4473951d4b5, the function check for both initialized and
restored variables. So let's use this.
app/gui/gimpdbusservice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/gui/gimpdbusservice.c b/app/gui/gimpdbusservice.c
index 08e52a6c3f..1a63a554ae 100644
--- a/app/gui/gimpdbusservice.c
+++ b/app/gui/gimpdbusservice.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]