summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-11-11 15:17:19 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-11-11 15:19:29 +0400
commit0292fbde1763e4a406be15b1771780a6a0c9aa47 (patch)
tree0d26e9bc562abad5306e10d09a6b4ab1370616f3 /vcl/unx/gtk
parent13bfe67103e6c0a9d3fa9db48dc4448e35ad006b (diff)
Related: fdo#56198 avoid gtk warning
Change-Id: I230c2923960862f7e705f03a5c8a5763c002256b
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r--vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index 14514766d84b..da3c181768e3 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -3990,7 +3990,9 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
gboolean showmenuicons = true, primarybuttonwarps = false;
g_object_get( pSettings,
"gtk-menu-images", &showmenuicons,
+#if GTK_CHECK_VERSION(2,24,0)
"gtk-primary-button-warps-slider", &primarybuttonwarps,
+#endif
(char *)NULL );
aStyleSet.SetPreferredUseImagesInMenus(showmenuicons);
aStyleSet.SetPrimaryButtonWarpsSlider(primarybuttonwarps);