vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 2b60321b21ff9ada64576f5711950b616b8a25ba Author: Caolán McNamara <[email protected]> Date: Fri Feb 12 21:05:23 2016 +0000 gtk3: only available since 3.12.0 Change-Id: I23a9907fa0ec3258afdb69285f31b6ce5a3521a0 diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx index b0211c4..4715995 100644 --- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx @@ -1990,6 +1990,7 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings ) ::Color aHighlightTextColor = getColor( color ); aStyleSet.SetMenuHighlightTextColor( aHighlightTextColor ); +#if GTK_CHECK_VERSION(3, 12, 0) // hyperlink colors gtk_style_context_set_state(mpLinkButtonStyle, GTK_STATE_FLAG_LINK); gtk_style_context_get_color(mpLinkButtonStyle, gtk_style_context_get_state(mpLinkButtonStyle), &text_color); @@ -1997,6 +1998,7 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings ) gtk_style_context_set_state(mpLinkButtonStyle, GTK_STATE_FLAG_VISITED); gtk_style_context_get_color(mpLinkButtonStyle, gtk_style_context_get_state(mpLinkButtonStyle), &text_color); aStyleSet.SetVisitedLinkColor(getColor(text_color)); +#endif #if GTK_CHECK_VERSION(3, 19, 2) {
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
