summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/app
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-01-14 11:28:22 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-15 00:36:42 +0000
commit10b10580c46a69d25e987212bb127787300b871e (patch)
tree19f77df035dd7b4b2b47e95a9eb184e2d8f5968a /vcl/unx/gtk/app
parentca93d98343a03026c7568abc2ddda838f10fcbde (diff)
vcl: rename methods to crisp up a 'DisplayScreen' naming concept
Diffstat (limited to 'vcl/unx/gtk/app')
-rw-r--r--vcl/unx/gtk/app/gtksys.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx
index 98c012ad5135..9ce1671d28f5 100644
--- a/vcl/unx/gtk/app/gtksys.cxx
+++ b/vcl/unx/gtk/app/gtksys.cxx
@@ -153,7 +153,7 @@ static int _get_primary_monitor (GdkScreen *pScreen)
}
} // end anonymous namespace
-unsigned int GtkSalSystem::GetDefaultDisplayNumber()
+unsigned int GtkSalSystem::GetDisplayDefaultScreen()
{
GdkScreen *pDefault = gdk_display_get_default_screen (mpDisplay);
int idx = getScreenIdxFromPtr (mpDisplay, pDefault);
@@ -172,7 +172,7 @@ Rectangle GtkSalSystem::GetDisplayScreenPosSizePixel (unsigned int nScreen)
return Rectangle (aRect.x, aRect.y, aRect.width, aRect.height);
}
-Rectangle GtkSalSystem::GetDisplayWorkAreaPosSizePixel (unsigned int nScreen)
+Rectangle GtkSalSystem::GetDisplayScreenWorkAreaPosSizePixel (unsigned int nScreen)
{
// FIXME: in theory we need extra code here to collect
// the work area, ignoring fixed panels etc. on the screen.
@@ -180,7 +180,7 @@ Rectangle GtkSalSystem::GetDisplayWorkAreaPosSizePixel (unsigned int nScreen)
return GetDisplayScreenPosSizePixel( nScreen );
}
-rtl::OUString GtkSalSystem::GetScreenName(unsigned int nScreen)
+rtl::OUString GtkSalSystem::GetDisplayScreenName(unsigned int nScreen)
{
gchar *pStr;
gint nMonitor;