summaryrefslogtreecommitdiff
path: root/libreofficekit/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-04 16:28:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-08-05 09:39:22 +0000
commit403c13487c36f4200adf0986c5d11398f719cd7a (patch)
tree21a4acf87dce1e6c8772f5cbcff3c2a3de21f4ba /libreofficekit/source
parent10560949f90e08fe4a04dd91c7d388c4998100e8 (diff)
loplugin:unusedmethods
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'libreofficekit/source')
-rw-r--r--libreofficekit/source/gtk/tilebuffer.cxx6
-rw-r--r--libreofficekit/source/gtk/tilebuffer.hxx2
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*);