From 7403c95540ba96a304eaebcb4845e910746133bb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 17 Oct 2016 16:46:41 +0100 Subject: GTK_STYLE_CLASS_POPUP not defined in older gtks Change-Id: I6192d13419aab42993e4b6dc011db30a4c3c1787 --- vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vcl') 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) -- cgit