Kaydet (Commit) 1493e66b authored tarafından Pranav Kant's avatar Pranav Kant Kaydeden (comit) Miklos Vajna

lokdocview: Let G_BEGIN/END_DECLS handle the compiler check

Change-Id: I8c60c9ba13516fc2b3a926c19b41ee19805d74a5
üst 085f31a4
...@@ -16,10 +16,7 @@ ...@@ -16,10 +16,7 @@
#define LOK_USE_UNSTABLE_API #define LOK_USE_UNSTABLE_API
#include <LibreOfficeKit/LibreOfficeKit.h> #include <LibreOfficeKit/LibreOfficeKit.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C"
{
#endif
#define LOK_DOCVIEW(obj) GTK_CHECK_CAST (obj, lok_docview_get_type(), LOKDocView) #define LOK_DOCVIEW(obj) GTK_CHECK_CAST (obj, lok_docview_get_type(), LOKDocView)
#define LOK_DOCVIEW_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, lok_docview_get_type(), LOKDocViewClass) #define LOK_DOCVIEW_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, lok_docview_get_type(), LOKDocViewClass)
...@@ -77,9 +74,8 @@ void lok_docview_post_key (GtkWidget* pWidget, GdkEventKey* pEvent ...@@ -77,9 +74,8 @@ void lok_docview_post_key (GtkWidget* pWidget, GdkEventKey* pEvent
/// Get the visible area of the document (in twips). /// Get the visible area of the document (in twips).
void lok_docview_get_visarea(LOKDocView* pThis, GdkRectangle* pArea); void lok_docview_get_visarea(LOKDocView* pThis, GdkRectangle* pArea);
#ifdef __cplusplus
} G_END_DECLS
#endif
#endif // INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKITGTK_H #endif // INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKITGTK_H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment