[gtk/csserror-g-decls] csserror: Add G_BEGIN_DECLS and G_END_DECLS
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/csserror-g-decls] csserror: Add G_BEGIN_DECLS and G_END_DECLS
- Date: Wed, 24 Apr 2019 14:35:12 +0000 (UTC)
commit c21063e71e568f631132d5d9d24230f732d79b17
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Wed Apr 24 16:32:54 2019 +0200
csserror: Add G_BEGIN_DECLS and G_END_DECLS
Necessary when the header file is included in C++ code.
Merge request !773
gtk/css/gtkcsserror.h | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gtk/css/gtkcsserror.h b/gtk/css/gtkcsserror.h
index 6f7dbee012..a9392a2317 100644
--- a/gtk/css/gtkcsserror.h
+++ b/gtk/css/gtkcsserror.h
@@ -24,6 +24,8 @@
#include <glib.h>
#include <gdk/gdkversionmacros.h>
+G_BEGIN_DECLS
+
/**
* GTK_CSS_PARSER_ERROR:
*
@@ -44,4 +46,6 @@ GQuark gtk_css_parser_error_quark (void);
GDK_AVAILABLE_IN_ALL
GQuark gtk_css_parser_warning_quark (void);
+G_END_DECLS
+
#endif /* __GTK_CSS_ERROR_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]