diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-10 15:35:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-10 15:43:39 +0100 |
commit | 011c2950de31126d424236dbea55aab79e8272ef (patch) | |
tree | 710ccee8436818acbd54da52d1eed78a6acf847f /configure.ac | |
parent | 6624484a608ed43fdeea1596f254915add671e08 (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 'configure.ac')
0 files changed, 0 insertions, 0 deletions