diff options
| author | Eric Greveson <eric@greveson.co.uk> | 2013-07-04 22:57:15 +0000 |
|---|---|---|
| committer | Eric Greveson <eric@greveson.co.uk> | 2013-07-04 22:57:15 +0000 |
| commit | c165601973334cdb21088219a3cb9d0a20abb181 (patch) | |
| tree | 2553a6d810c2b9be0f8ff259659768afe3a5957a /src/main.cpp | |
| parent | Further renaming of DBus variables (object -> app_interface/doc_interface (diff) | |
| download | inkscape-c165601973334cdb21088219a3cb9d0a20abb181.tar.gz inkscape-c165601973334cdb21088219a3cb9d0a20abb181.zip | |
Fix for builds without --enable-dbusapi (missing #ifdef)
(bzr r12387.1.9)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 630411dde..ba51951da 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1277,7 +1277,11 @@ int sp_main_console(int argc, char const **argv) int retVal = sp_common_main( argc, argv, &fl ); g_return_val_if_fail(retVal == 0, 1); - if (fl == NULL && !sp_shell && !sp_dbus_listen) { + if (fl == NULL && !sp_shell +#ifdef WITH_DBUS + && !sp_dbus_listen +#endif // WITH_DBUS + ) { g_print("Nothing to do!\n"); exit(0); } |
