[Libreoffice-commits] .: vcl/unx
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Nov 11 03:20:32 PST 2012
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 0292fbde1763e4a406be15b1771780a6a0c9aa47
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Sun Nov 11 15:17:19 2012 +0400
Related: fdo#56198 avoid gtk warning
Change-Id: I230c2923960862f7e705f03a5c8a5763c002256b
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index 1451476..da3c181 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);
More information about the Libreoffice-commits
mailing list