[gtksourceview] Avoid type redefinitions
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Avoid type redefinitions
- Date: Wed, 17 May 2017 15:29:03 +0000 (UTC)
commit 42ffea75552f30a44a35ba70c3d8c177e5319656
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 0adc2cf..a150477 100644
--- a/gtksourceview/gtksourcetypes-private.h
+++ b/gtksourceview/gtksourcetypes-private.h
@@ -26,7 +26,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 55fe669..833cc6a 100644
--- a/gtksourceview/gtksourcetypes.h
+++ b/gtksourceview/gtksourcetypes.h
@@ -57,7 +57,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;
@@ -67,7 +66,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]