diff options
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/tilebuffer.cxx | 6 | ||||
-rw-r--r-- | libreofficekit/source/gtk/tilebuffer.hxx | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/libreofficekit/source/gtk/tilebuffer.cxx b/libreofficekit/source/gtk/tilebuffer.cxx index 85f6eb0422c2..75c3d0d2c5c4 100644 --- a/libreofficekit/source/gtk/tilebuffer.cxx +++ b/libreofficekit/source/gtk/tilebuffer.cxx @@ -36,12 +36,6 @@ GdkPixbuf* Tile::getBuffer() return m_pBuffer; } -void Tile::release() -{ - g_object_unref (m_pBuffer); - m_pBuffer = NULL; -} - void Tile::setPixbuf(GdkPixbuf *buffer) { m_pBuffer = buffer; diff --git a/libreofficekit/source/gtk/tilebuffer.hxx b/libreofficekit/source/gtk/tilebuffer.hxx index d4e7120e6587..750ff790e1e4 100644 --- a/libreofficekit/source/gtk/tilebuffer.hxx +++ b/libreofficekit/source/gtk/tilebuffer.hxx @@ -62,8 +62,6 @@ class Tile /// Function to get the pointer to enclosing GdkPixbuf GdkPixbuf* getBuffer(); - /// Destroys the enclosing GdkPixbuf object pointed to by m_pBuffer - void release(); /// Used to set the pixel buffer of this object void setPixbuf(GdkPixbuf*); |