[gtksourceview] autocleanups: add missing #includes and G_BEGIN/END_DECLS
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] autocleanups: add missing #includes and G_BEGIN/END_DECLS
- Date: Fri, 30 Sep 2016 15:51:25 +0000 (UTC)
commit 70de5cd987ef0933d04893b959714a90ef510e45
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Sep 30 17:20:14 2016 +0200
autocleanups: add missing #includes and G_BEGIN/END_DECLS
gtksourceview/gtksourceautocleanups.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourceautocleanups.h b/gtksourceview/gtksourceautocleanups.h
index a4ebda2..8628db3 100644
--- a/gtksourceview/gtksourceautocleanups.h
+++ b/gtksourceview/gtksourceautocleanups.h
@@ -27,6 +27,11 @@
# endif
#endif
+#include <glib.h>
+#include <gtksourceview/gtksourcetypes.h>
+
+G_BEGIN_DECLS
+
#ifndef __GI_SCANNER__
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceBuffer, g_object_unref)
@@ -57,4 +62,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSourceView, g_object_unref)
#endif /* __GI_SCANNER__ */
+G_END_DECLS
+
#endif /* GTK_SOURCE_AUTOCLEANUPS_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]