summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
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-06 22:05:11 +0000
commitb7f301a7d9fed5f61067f6de499e565274b5aab4 (patch)
tree340414af915167a84d0908ecb78c7fcc5f709d03 /vcl/unx/gtk
parent5c4bfb40713807e6a6453ce4a07a17fa1b0be433 (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>
Diffstat (limited to 'vcl/unx/gtk')
-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 4865467e97da..29d5bca8fcf6 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -83,8 +83,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;