[nautilus] dbus-launcher: Make sure proxy is really available



commit 3fc83c7ca3c518f6511da0652468d6f943d93048
Author: Corey Berla <corey berla me>
Date:   Sun Jul 31 11:49:42 2022 -0700

    dbus-launcher: Make sure proxy is really available

 src/nautilus-dbus-launcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-dbus-launcher.c b/src/nautilus-dbus-launcher.c
index 84ee8676a..491f9675b 100644
--- a/src/nautilus-dbus-launcher.c
+++ b/src/nautilus-dbus-launcher.c
@@ -143,7 +143,7 @@ nautilus_dbus_launcher_create_proxy (NautilusDBusLauncherData *data,
 gboolean nautilus_dbus_launcher_is_available (NautilusDBusLauncher   *self,
                                               NautilusDBusLauncherApp app)
 {
-    return self->data[app]->error == NULL;
+    return self->data[app]->error == NULL && self->data[app]->proxy != NULL;
 }
 
 NautilusDBusLauncher *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]