[Libreoffice-commits] core.git: vcl/unx
Wastack
btomi96 at gmail.com
Tue Mar 8 17:31:38 UTC 2016
vcl/unx/gtk/gtksys.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7218090791da47aa37292f16bc1fa6f30607a58a
Author: Wastack <btomi96 at gmail.com>
Date: Tue Mar 8 00:51:02 2016 +0100
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 at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/vcl/unx/gtk/gtksys.cxx b/vcl/unx/gtk/gtksys.cxx
index 97f2464..ac24256 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)
More information about the Libreoffice-commits
mailing list