[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Wed Mar 9 09:54:25 UTC 2016


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

New commits:
commit 8b009ed87a2690ae0a307b52369c72cf968ab3b1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Mar 9 09:53:43 2016 +0000

    fix for older gtk
    
    Change-Id: I1a3286b2f967f50fbaef7e3726e48ae82fd145aa

diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index cc2055a..403280c 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -913,7 +913,7 @@ static GtkStyleContext* createStyleContext(GtkControlPart ePart, GtkStyleContext
             gtk_widget_path_iter_set_object_name(path, -1, "contents");
 #else
             gtk_widget_path_iter_add_class(path, -1, GTK_STYLE_CLASS_SCROLLBAR);
-            gtk_widget_path_iter_add_class(path, -1, GTK_STYLE_CLASS_CONTENTS);
+            gtk_widget_path_iter_add_class(path, -1, "contents");
 #endif
             break;
         case GtkControlPart::ScrollbarTrough:


More information about the Libreoffice-commits mailing list