summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorWastack <btomi96@gmail.com>2016-03-08 00:51:02 +0100
committerMichael Meeks <michael.meeks@collabora.com>2016-03-08 17:31:16 +0000
commit7218090791da47aa37292f16bc1fa6f30607a58a (patch)
treea8900e5a97b690c567d1166ec483985593f74484 /vcl
parent32c2a2f8dc04af8a49ad3580af0ea647c45eb877 (diff)
tdf#97966 Drop static keywords from two functions inside an unnamed namespace
Change-Id: I4fca1e813eccfeb5185e7a50aa301e7ad1ee61b5 Reviewed-on: https://gerrit.libreoffice.org/23015 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/gtksys.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/gtksys.cxx b/vcl/unx/gtk/gtksys.cxx
index 97f24644ba93..ac2425684916 100644
--- a/vcl/unx/gtk/gtksys.cxx
+++ b/vcl/unx/gtk/gtksys.cxx
@@ -195,7 +195,7 @@ bool GtkSalSystem::IsUnifiedDisplay()
}
namespace {
-static int _fallback_get_primary_monitor (GdkScreen *pScreen)
+int _fallback_get_primary_monitor (GdkScreen *pScreen)
{
// Use monitor name as primacy heuristic
int max = gdk_screen_get_n_monitors (pScreen);
@@ -210,7 +210,7 @@ static int _fallback_get_primary_monitor (GdkScreen *pScreen)
return 0;
}
-static int _get_primary_monitor (GdkScreen *pScreen)
+int _get_primary_monitor (GdkScreen *pScreen)
{
static int (*get_fn) (GdkScreen *) = nullptr;
#if GTK_CHECK_VERSION(3,0,0)