summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-11 10:02:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-11 10:02:26 +0200
commit982b887bf9686b8b02960aae7dcc38a3b7c49ea8 (patch)
treed264b59f78e73cb7bd40f59cd0942f708cacbfeb /desktop
parent10cc455580b2349e99ac48732cc451f7e2126953 (diff)
xdg-app got renamed to Flatpak
Change-Id: Ib5ea4ad5b6033ee1634ea2f245742f862a40042d
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/officeipcthread.cxx2
-rw-r--r--desktop/unx/source/start.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx
index e9feb5caf483..75bd51e7dc9c 100644
--- a/desktop/source/app/officeipcthread.cxx
+++ b/desktop/source/app/officeipcthread.cxx
@@ -730,7 +730,7 @@ RequestHandler::Status RequestHandler::Enable(bool ipc)
enum class Kind { Pipe, Dbus };
Kind kind = Kind::Pipe;
#if ENABLE_DBUS
- if (std::getenv("LIBO_XDGAPP") != nullptr) {
+ if (std::getenv("LIBO_FLATPAK") != nullptr) {
kind = Kind::Dbus;
}
#endif
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index 3b23124bf4b6..893c79c4e0b7 100644
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -757,7 +757,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
if ( pUsePlugin && !strcmp(pUsePlugin, "svp") )
args->bInhibitSplash = sal_True;
- if ( !args->bInhibitPipe && getenv("LIBO_XDGAPP") == NULL )
+ if ( !args->bInhibitPipe && getenv("LIBO_FLATPAK") == NULL )
{
int fd = 0;
pPipePath = get_pipe_path( args->pAppPath );