summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-07 15:46:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-07 15:46:14 +0100
commite724553b22f7b70ebdc466921d2f3853a30d142d (patch)
tree94d67b9c7e492c4fbe605d73827340f18a4cfca7 /vcl
parent4498bc4483c4a37b5ffaa649fa148ef3d381d399 (diff)
fix gtk3 build
Change-Id: If6e9a4a26ff31eb192e054f68398287c18768fcb
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index d92d6d99b17f..d98cb3c436df 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