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

New commits:
commit 7ae079274d15ab309c9811c0b3966bed727a6afe
Author: Caolán McNamara <caol...@redhat.com>
Date:   Fri Oct 14 13:23:26 2016 +0100

    silence warnings
    
    Change-Id: I80abf5092c7d4e7b8cf75e4b79ffdb9a5e0c7580

diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx 
b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 3f21579..8fa32ab 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -726,6 +726,7 @@ Rectangle GtkSalGraphics::NWGetComboBoxButtonRect( 
ControlType nType,
     return aButtonRect;
 }
 
+#define FALLBACK_ARROW_SIZE 11 * 0.85
 void GtkSalGraphics::PaintCombobox( GtkStateFlags flags, cairo_t *cr,
                                     const Rectangle& rControlRectangle,
                                     ControlType nType,
@@ -749,7 +750,7 @@ void GtkSalGraphics::PaintCombobox( GtkStateFlags flags, 
cairo_t *cr,
     if (AllSettings::GetLayoutRTL())
         aEditBoxRect.SetPos( Point( areaRect.Left() + buttonRect.GetWidth(), 
areaRect.Top() ) );
 
-    gint arrow_width, arrow_height;
+    gint arrow_width = FALLBACK_ARROW_SIZE, arrow_height = FALLBACK_ARROW_SIZE;
     if (nType == ControlType::Combobox)
     {
         gtk_style_context_get(mpComboboxButtonArrowStyle,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to