summaryrefslogtreecommitdiff
path: root/test/source/vclbootstrapprotector.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-10 15:35:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-10 15:43:39 +0100
commit011c2950de31126d424236dbea55aab79e8272ef (patch)
tree710ccee8436818acbd54da52d1eed78a6acf847f /test/source/vclbootstrapprotector.cxx
parent6624484a608ed43fdeea1596f254915add671e08 (diff)
No need to re-check IsHeadlessModeRequested in get_desktop_environment
It is already checked on all call chains: * CreateSalInstance (vcl/unx/generic/plugadapt/salplug.cxx) checks IsHeadlessModeRequested before calling autodetect_plugin -> get_desktop_environment -> get_desktop_environment * Application::GetDesktopEnvironment (vcl/source/app/svapp.cxx) checks IsHeadlessModeEnabled before potentially calling SalGetDesktopEnvironment (vcl/unx/generic/plugadapt/salplug.cxx) -> get_desktop_environment -> get_desktop_environment * The two calls to SalGetDesktopEnvironment in vcl/unx/gtk/ are clearly only done for GTK plugins, not headless Change-Id: I44b43cecd63effc5b2e3ad2a449943fee183462a
Diffstat (limited to 'test/source/vclbootstrapprotector.cxx')
0 files changed, 0 insertions, 0 deletions