csserror: Add G_BEGIN_DECLS and G_END_DECLS

Necessary when the header file is included in C++ code.

Merge request !773
This commit is contained in:
Kjell Ahlstedt 2019-04-24 16:32:54 +02:00
parent 91bbe6ef95
commit c21063e71e

View File

@ -24,6 +24,8 @@
#include <glib.h> #include <glib.h>
#include <gdk/gdkversionmacros.h> #include <gdk/gdkversionmacros.h>
G_BEGIN_DECLS
/** /**
* GTK_CSS_PARSER_ERROR: * GTK_CSS_PARSER_ERROR:
* *
@ -44,4 +46,6 @@ GQuark gtk_css_parser_error_quark (void);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
GQuark gtk_css_parser_warning_quark (void); GQuark gtk_css_parser_warning_quark (void);
G_END_DECLS
#endif /* __GTK_CSS_ERROR_H__ */ #endif /* __GTK_CSS_ERROR_H__ */