summaryrefslogtreecommitdiff
path: root/libreofficekit/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-09 11:57:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-09 12:10:46 +0200
commit3f0e8bdabed165e09825bc78c55afb968a6d702a (patch)
tree56e374441f267e912b84ea742a267d9ce5f7f960 /libreofficekit/source
parent9aa9baa78852dda5c348eb0abdbef98db3e910ed (diff)
loplugin:unreffun
Change-Id: I2011b491012dfd623ece9fd24a265107ac690cba
Diffstat (limited to 'libreofficekit/source')
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 7e50b96b9d75..4fb998eb860d 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -208,9 +208,14 @@ enum
static guint doc_view_signals[LAST_SIGNAL] = { 0 };
-
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-function"
+#endif
G_DEFINE_TYPE(LOKDocView, lok_doc_view, GTK_TYPE_SCROLLED_WINDOW)
-
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
namespace {