diff options
Diffstat (limited to 'Source/WebCore/platform/gtk/GRefPtrGtk.cpp')
-rw-r--r-- | Source/WebCore/platform/gtk/GRefPtrGtk.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/platform/gtk/GRefPtrGtk.cpp b/Source/WebCore/platform/gtk/GRefPtrGtk.cpp index 6647b99..9a9d679 100644 --- a/Source/WebCore/platform/gtk/GRefPtrGtk.cpp +++ b/Source/WebCore/platform/gtk/GRefPtrGtk.cpp @@ -38,6 +38,7 @@ template <> void derefGPtr(GtkTargetList* ptr) gtk_target_list_unref(ptr); } +#ifdef GTK_API_VERSION_2 template <> GdkCursor* refGPtr(GdkCursor* ptr) { if (ptr) @@ -50,5 +51,6 @@ template <> void derefGPtr(GdkCursor* ptr) if (ptr) gdk_cursor_unref(ptr); } +#endif } |