summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-01-14 10:31:40 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-15 00:36:41 +0000
commitca93d98343a03026c7568abc2ddda838f10fcbde (patch)
tree14ff4373b6921261e1d70f35cc286cf24c68039d /vcl/unx/gtk
parente9202ffeccdf6f669184f3f869d2e5b121bea9f3 (diff)
vcl: rename ambiguous IsMultiDisplay to IsUnifiedDisplay, and simplify
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r--vcl/unx/gtk/app/gtksys.cxx4
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 {