[evince/gnome-40] ev-application: fix compilation error when DBus is disabled



commit 66466c6515211a0da899db930fb6b02b6350ed21
Author: Tom Schoonjans <Tom Schoonjans rfi ac uk>
Date:   Wed Jun 9 06:39:48 2021 +0100

    ev-application: fix compilation error when DBus is disabled

 shell/ev-application.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 7a3b69ba..c6f51c10 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -1178,7 +1178,9 @@ ev_application_get_uri (EvApplication *application)
 void
 ev_application_clear_uri (EvApplication *application)
 {
+#ifdef ENABLE_DBUS
        ev_application_unregister_uri (application, application->uri);
+#endif
        g_clear_pointer (&application->uri, g_free);
 }
 


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