diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-07 16:07:55 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-12 11:06:40 +0100 |
commit | 057fb145f13a85095fd296731a17ba95483d4434 (patch) | |
tree | 6f56a1d3f1a2cc0538528ae193153104cedc30f9 | |
parent | 3b77cd3bbd12c6ac145fb3887f3428e2fc6a39e6 (diff) |
LibreOfficeKitGtk: lok_docview is never read
Change-Id: Ibb7a6dd46541afe8908b108450e64b91c8830026
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitGtk.h | 2 | ||||
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h index 522d74d2c1a1..111381d3cb64 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -46,8 +46,6 @@ struct _LOKDocView struct _LOKDocViewClass { GtkScrolledWindowClass parent_class; - - void (*lok_docview) (LOKDocView* pDocView); }; guint lok_docview_get_type (void); diff --git a/libreofficekit/source/gtk/lokdocview.c b/libreofficekit/source/gtk/lokdocview.c index 4e13f0398dd3..903f7e339638 100644 --- a/libreofficekit/source/gtk/lokdocview.c +++ b/libreofficekit/source/gtk/lokdocview.c @@ -52,7 +52,7 @@ SAL_DLLPUBLIC_EXPORT guint lok_docview_get_type() static void lok_docview_class_init( LOKDocViewClass* pClass ) { - pClass->lok_docview = NULL; + (void)pClass; } static void lok_docview_init( LOKDocView* pDocView ) |