[Libreoffice-commits] .: vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Nov 11 04:46:39 PST 2012


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

New commits:
commit 1e3e415dbe877666e1575128a7ec3d5d9c076ffa
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Sun Nov 11 16:36:14 2012 +0400

    Related: fdo#56198 avoid gtk warning, take 2
    
    from http://developer.gnome.org/gtk/2.24/GtkSettings.html
    
      The "gtk-primary-button-warps-slider" property
      ...
      Since: 2.24
    
    but it is 2.24.13 indeed:
    
    https://mail.gnome.org/archives/ftp-release-list/2012-September/msg00195.html
    
      News
      ====
    
      * Implement a gtk-primary-button-warps-slider setting
        that lets us adjust scale and scrollbar behaviour
        according to platform.
    
    Change-Id: I4d3170801973e3e6101736971de58d70b673fd58

diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index da3c181..4455c2b 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -3990,7 +3990,7 @@ 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)
+#if GTK_CHECK_VERSION(2,24,13)
         "gtk-primary-button-warps-slider", &primarybuttonwarps,
 #endif
         (char *)NULL );


More information about the Libreoffice-commits mailing list