diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-14 13:56:27 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2011-06-14 16:34:05 +0100 |
commit | 1c7c573899987b194916d408e878ba69544a371a (patch) | |
tree | c6b6e7c918eca3a4ea25bb507f6eea419783be63 /vcl/inc/unx/gtk/gtkframe.hxx | |
parent | 49f8eb6ca0de85766c80b1060ef9e24ea4378df0 (diff) |
Prepare for gtk3
Diffstat (limited to 'vcl/inc/unx/gtk/gtkframe.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
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(); |