summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitGtk.h2
-rw-r--r--libreofficekit/source/gtk/lokdocview.c2
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 )