[gtksourceview] map: add type to gtksourcetypes.h



commit 7aa814a82b03ca6ad7d6bf6ca37536b20dd0ab27
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Sep 30 17:33:59 2016 +0200

    map: add type to gtksourcetypes.h

 gtksourceview/gtksourcemap.h   |    4 ++--
 gtksourceview/gtksourcetypes.h |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourcemap.h b/gtksourceview/gtksourcemap.h
index 6fc0a88..269ab85 100644
--- a/gtksourceview/gtksourcemap.h
+++ b/gtksourceview/gtksourcemap.h
@@ -31,6 +31,7 @@
 #endif
 
 #include <gtk/gtk.h>
+#include <gtksourceview/gtksourcetypes.h>
 #include <gtksourceview/gtksourceview.h>
 
 G_BEGIN_DECLS
@@ -43,8 +44,7 @@ G_BEGIN_DECLS
 #define GTK_SOURCE_IS_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  GTK_SOURCE_TYPE_MAP))
 #define GTK_SOURCE_MAP_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  GTK_SOURCE_TYPE_MAP, 
GtkSourceMapClass))
 
-typedef struct _GtkSourceMap        GtkSourceMap;
-typedef struct _GtkSourceMapClass   GtkSourceMapClass;
+typedef struct _GtkSourceMapClass GtkSourceMapClass;
 
 struct _GtkSourceMap
 {
diff --git a/gtksourceview/gtksourcetypes.h b/gtksourceview/gtksourcetypes.h
index e32ccb1..1799181 100644
--- a/gtksourceview/gtksourcetypes.h
+++ b/gtksourceview/gtksourcetypes.h
@@ -52,6 +52,7 @@ typedef struct _GtkSourceGutterRendererPixbuf GtkSourceGutterRendererPixbuf;
 typedef struct _GtkSourceGutterRendererText    GtkSourceGutterRendererText;
 typedef struct _GtkSourceLanguage              GtkSourceLanguage;
 typedef struct _GtkSourceLanguageManager       GtkSourceLanguageManager;
+typedef struct _GtkSourceMap                   GtkSourceMap;
 typedef struct _GtkSourceMarkAttributes                GtkSourceMarkAttributes;
 typedef struct _GtkSourceMark                  GtkSourceMark;
 typedef struct _GtkSourcePrintCompositor       GtkSourcePrintCompositor;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]