summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-10-26 17:16:40 +0200
committerPetr Mladek <pmladek@suse.cz>2011-10-27 17:10:31 +0200
commita608d0664371c21c854e1f91aee2210a17641220 (patch)
tree4d188900e92efb611eb7b93bfb3ef556264ec6a0 /vcl
parent8ff172492431d77f4a09a36bec51b8c6361c1854 (diff)
renderArea is implemented only with GTK-3
fixes build on SLED10 with gtk-2.8 and cairo-1.0.2
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/gtk/gtkframe.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index edd904eaf746..e4cf0bed97c6 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -325,8 +325,9 @@ public:
// only for gtk3 ...
void pushIgnoreDamage();
void popIgnoreDamage();
+#if GTK_CHECK_VERSION(3,0,0)
void renderArea( cairo_t *cr, cairo_rectangle_t *src );
-
+#endif
virtual ~GtkSalFrame();
// SalGraphics or NULL, but two Graphics for all SalFrames