[Libreoffice-commits] .: vcl/unx

Petr Mladek pmladek at kemper.freedesktop.org
Wed Oct 26 08:58:44 PDT 2011


 vcl/unx/gtk/app/gtksys.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fe87d9b8633f00c18ae770782694cf71db10bbfc
Author: Petr Mladek <pmladek at suse.cz>
Date:   Wed Oct 26 17:57:56 2011 +0200

    gdk_screen_get_monitor_plug_name returns "gchar *"

diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx
index 4134b5d..0d1299a 100644
--- a/vcl/unx/gtk/app/gtksys.cxx
+++ b/vcl/unx/gtk/app/gtksys.cxx
@@ -190,7 +190,7 @@ rtl::OUString GtkSalSystem::GetScreenName(unsigned int nScreen)
 #if GTK_CHECK_VERSION(3,0,0) || GTK_CHECK_VERSION(2,14,0)
     pStr = gdk_screen_get_monitor_plug_name (pScreen, nMonitor);
 #else
-    static gchar (*get_fn) (GdkScreen *, int) = NULL;
+    static gchar * (*get_fn) (GdkScreen *, int) = NULL;
 
     GModule *module = g_module_open (NULL, (GModuleFlags) 0);
     if (!g_module_symbol (module, "gdk_screen_get_monitor_plug_name",


More information about the Libreoffice-commits mailing list