diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-14 10:31:40 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-15 00:36:41 +0000 |
commit | ca93d98343a03026c7568abc2ddda838f10fcbde (patch) | |
tree | 14ff4373b6921261e1d70f35cc286cf24c68039d /vcl/unx/gtk | |
parent | e9202ffeccdf6f669184f3f869d2e5b121bea9f3 (diff) |
vcl: rename ambiguous IsMultiDisplay to IsUnifiedDisplay, and simplify
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r-- | vcl/unx/gtk/app/gtksys.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx index a5b134e420f2..98c012ad5135 100644 --- a/vcl/unx/gtk/app/gtksys.cxx +++ b/vcl/unx/gtk/app/gtksys.cxx @@ -104,9 +104,9 @@ unsigned int GtkSalSystem::GetDisplayScreenCount() return G_MAXINT - nMonitor; } -bool GtkSalSystem::IsMultiDisplay() +bool GtkSalSystem::IsUnifiedDisplay() { - return gdk_display_get_n_screens (mpDisplay) > 1; + return gdk_display_get_n_screens (mpDisplay) == 1; } namespace { |