diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-11-11 15:17:19 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-11-11 15:19:29 +0400 |
commit | 0292fbde1763e4a406be15b1771780a6a0c9aa47 (patch) | |
tree | 0d26e9bc562abad5306e10d09a6b4ab1370616f3 /vcl/unx/gtk/gdi | |
parent | 13bfe67103e6c0a9d3fa9db48dc4448e35ad006b (diff) |
Related: fdo#56198 avoid gtk warning
Change-Id: I230c2923960862f7e705f03a5c8a5763c002256b
Diffstat (limited to 'vcl/unx/gtk/gdi')
-rw-r--r-- | vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 2 |
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); |