diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-17 16:46:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-17 16:46:41 +0100 |
commit | 7403c95540ba96a304eaebcb4845e910746133bb (patch) | |
tree | d510d54b7fb5a82ad61ca1d731c786f67ef0aac1 /vcl | |
parent | a906f24a7830a12c4f1e2f8fa0c3df7961a64d6c (diff) |
GTK_STYLE_CLASS_POPUP not defined in older gtks
Change-Id: I6192d13419aab42993e4b6dc011db30a4c3c1787
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx index 11e6d01a5e3c..3dcfb4a70e6a 100644 --- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx @@ -1331,6 +1331,10 @@ GtkStyleContext* GtkSalGraphics::createNewContext(GtkControlPart ePart, gtk_widg return nullptr; } +#ifndef GTK_STYLE_CLASS_POPUP +#define GTK_STYLE_CLASS_POPUP "popup" +#endif + GtkStyleContext* GtkSalGraphics::createOldContext(GtkControlPart ePart) { switch (ePart) |