diff options
author | Colomban Wendling <ban@herbesfolles.org> | 2016-04-27 16:01:16 +0200 |
---|---|---|
committer | Colomban Wendling <ban@herbesfolles.org> | 2016-04-27 16:01:16 +0200 |
commit | f4491cbfeda612215022ac0233fef99e05882bc9 (patch) | |
tree | 55dc4ca7f8c27c1237c3b8e67f431f836b0269b3 | |
parent | dcc0fbcf61a9f2a12798b78a1e5d836d906e3b7e (diff) | |
download | scintilla-mirror-f4491cbfeda612215022ac0233fef99e05882bc9.tar.gz |
GTK: Fix popup font on GTK >= 3.20
-rw-r--r-- | gtk/PlatGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 059cebfa6..e7cd9d2af 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1456,7 +1456,7 @@ void ListBoxX::SetFont(Font &scint_font) { if (cssProvider) { PangoFontDescription *pfd = PFont(scint_font)->pfd; std::ostringstream ssFontSetting; - ssFontSetting << "GtkTreeView { "; + ssFontSetting << "GtkTreeView, treeview { "; ssFontSetting << "font-family: " << pango_font_description_get_family(pfd) << "; "; ssFontSetting << "font-size:"; ssFontSetting << static_cast<double>(pango_font_description_get_size(pfd)) / PANGO_SCALE; |