summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTomáš Chvátal <tchvatal@suse.com>2016-01-05 11:27:36 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-07 13:49:39 +0000
commit795324d953e54b8e42d34ce577feee8559b9226d (patch)
tree00716f7899e34cae0837e46573ccff3a222117c1 /vcl
parent80ab5c501d4891e94cd882b8d19bc629a2be88ab (diff)
Fix build with gtk2 older than 2.20 by using the old definition
Change-Id: I3355d25f04a3c57063fd3d03e72a75da32e16efc Reviewed-on: https://gerrit.libreoffice.org/21109 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/21195 Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/gtksalframe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 1d5c8974693b..2ca581c19b7d 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -82,8 +82,8 @@
#include <config_folders.h>
-#define IS_WIDGET_REALIZED gtk_widget_get_realized
-#define IS_WIDGET_MAPPED gtk_widget_get_mapped
+#define IS_WIDGET_REALIZED GTK_WIDGET_REALIZED
+#define IS_WIDGET_MAPPED GTK_WIDGET_MAPPED
using namespace com::sun::star;