[gtksourceview/gnome-3-24] Avoid type redefinitions
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/gnome-3-24] Avoid type redefinitions
- Date: Wed, 17 May 2017 15:32:07 +0000 (UTC)
commit a5b57e6d3a2bd6a0297eb3c8cf48a24477f12ffa
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed May 17 17:19:11 2017 +0200
Avoid type redefinitions
The G_DECLARE_* macros already define the types. Support for type
redefinition requires C11, but we don't want GtkSourceView to require
C11 yet.
https://bugzilla.gnome.org/show_bug.cgi?id=782708
gtksourceview/gtksourcetypes-private.h | 1 -
gtksourceview/gtksourcetypes.h | 2 --
2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/gtksourcetypes-private.h b/gtksourceview/gtksourcetypes-private.h
index 0669f2f..df1ac89 100644
--- a/gtksourceview/gtksourcetypes-private.h
+++ b/gtksourceview/gtksourcetypes-private.h
@@ -27,7 +27,6 @@
G_BEGIN_DECLS
typedef struct _GtkSourceBufferInputStream GtkSourceBufferInputStream;
-typedef struct _GtkSourceBufferInternal GtkSourceBufferInternal;
typedef struct _GtkSourceBufferOutputStream GtkSourceBufferOutputStream;
typedef struct _GtkSourceCompletionContainer GtkSourceCompletionContainer;
typedef struct _GtkSourceCompletionModel GtkSourceCompletionModel;
diff --git a/gtksourceview/gtksourcetypes.h b/gtksourceview/gtksourcetypes.h
index ddc7426..97f7a92 100644
--- a/gtksourceview/gtksourcetypes.h
+++ b/gtksourceview/gtksourcetypes.h
@@ -62,7 +62,6 @@ typedef struct _GtkSourceMap GtkSourceMap;
typedef struct _GtkSourceMarkAttributes GtkSourceMarkAttributes;
typedef struct _GtkSourceMark GtkSourceMark;
typedef struct _GtkSourcePrintCompositor GtkSourcePrintCompositor;
-typedef struct _GtkSourceRegion GtkSourceRegion;
typedef struct _GtkSourceSearchContext GtkSourceSearchContext;
typedef struct _GtkSourceSearchSettings GtkSourceSearchSettings;
typedef struct _GtkSourceSpaceDrawer GtkSourceSpaceDrawer;
@@ -72,7 +71,6 @@ typedef struct _GtkSourceStyleSchemeChooser GtkSourceStyleSchemeChooser;
typedef struct _GtkSourceStyleSchemeChooserButton GtkSourceStyleSchemeChooserButton;
typedef struct _GtkSourceStyleSchemeChooserWidget GtkSourceStyleSchemeChooserWidget;
typedef struct _GtkSourceStyleSchemeManager GtkSourceStyleSchemeManager;
-typedef struct _GtkSourceTag GtkSourceTag;
typedef struct _GtkSourceUndoManager GtkSourceUndoManager;
typedef struct _GtkSourceView GtkSourceView;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]