X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ca21fe7bfda18e2da4e17eb529c4dfa0c824db2..4521f6c88cbefa7f13e3733d344776b795f981e4:/src/gtk/dc.cpp?ds=sidebyside diff --git a/src/gtk/dc.cpp b/src/gtk/dc.cpp index 52abd3b2be..7640bf3c6e 100644 --- a/src/gtk/dc.cpp +++ b/src/gtk/dc.cpp @@ -2,7 +2,6 @@ // Name: src/gtk/dc.cpp // Purpose: // Author: Robert Roebling -// RCS-ID: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -182,8 +181,6 @@ void* wxGTKCairoDCImpl::GetCairoContext() const cairo_t* cr = NULL; if (m_graphicContext) cr = static_cast(m_graphicContext->GetNativeContext()); - if (cr) - cairo_reference(cr); return cr; } //-----------------------------------------------------------------------------