[Libreoffice-commits] core.git: vcl/unx
Michael Meeks
michael.meeks at collabora.com
Tue May 19 08:49:21 PDT 2015
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 697d49cbb43c7d12bb88ba4f67dafe069cb1c5bd
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Tue May 19 16:54:47 2015 +0100
use CHECKED alias for GTK_STATE_FLAG_CHECKED instead.
Change-Id: I42a1b3d133b32ff29eb02fbc262e6ec0aa941b9c
diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index 1d82490..6d9e39d 100644
--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
@@ -1001,7 +1001,7 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
context = mpTreeHeaderButtonStyle;
ButtonValue aButtonValue = rValue.getTristateVal();
if (aButtonValue == BUTTONVALUE_ON)
- flags = (GtkStateFlags) (flags | GTK_STATE_FLAG_CHECKED);
+ flags = (GtkStateFlags) (flags | CHECKED);
renderType = RENDER_EXPANDER;
styleClass = GTK_STYLE_CLASS_EXPANDER;
break;
More information about the Libreoffice-commits
mailing list