[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Tue Apr 7 07:47:07 PDT 2015


 vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e724553b22f7b70ebdc466921d2f3853a30d142d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 7 15:46:04 2015 +0100

    fix gtk3 build
    
    Change-Id: If6e9a4a26ff31eb192e054f68398287c18768fcb

diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index d92d6d9..d98cb3c 100644
--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
@@ -1343,7 +1343,7 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
     g_object_get( pSettings, "gtk-cursor-blink", &blink, (char *)NULL );
     if( blink )
     {
-        gint blink_time = STYLE_CURSOR_NOBLINKTIME;
+        gint blink_time = static_cast<gint>(STYLE_CURSOR_NOBLINKTIME);
         g_object_get( pSettings, "gtk-cursor-blink-time", &blink_time, (char *)NULL );
         // set the blink_time if there is a setting and it is reasonable
         // else leave the default value


More information about the Libreoffice-commits mailing list