From 1c7c573899987b194916d408e878ba69544a371a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 14 Jun 2011 13:56:27 +0100 Subject: Prepare for gtk3 --- vcl/inc/unx/gtk/gtkframe.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'vcl/inc/unx/gtk/gtkframe.hxx') diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index f4f01a4bb801..1bc3fc8b4346 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -199,7 +199,11 @@ class GtkSalFrame : public SalFrame Size m_aMinSize; Rectangle m_aRestorePosSize; +#if GTK_CHECK_VERSION(3,0,0) + cairo_region_t* m_pRegion; +#else GdkRegion* m_pRegion; +#endif void Init( SalFrame* pParent, sal_uLong nStyle ); void Init( SystemParentData* pSysData ); @@ -220,7 +224,7 @@ class GtkSalFrame : public SalFrame static gboolean signalScroll( GtkWidget*, GdkEvent*, gpointer ); static gboolean signalCrossing( GtkWidget*, GdkEventCrossing*, gpointer ); static gboolean signalVisibility( GtkWidget*, GdkEventVisibility*, gpointer ); - static void signalDestroy( GtkObject*, gpointer ); + static void signalDestroy( GtkWidget*, gpointer ); void Center(); void SetDefaultSize(); -- cgit