diff options
author | Sébastien Wilmet <swilmet@gnome.org> | 2012-08-15 23:33:04 +0200 |
---|---|---|
committer | Paolo Borelli <pborelli@gnome.org> | 2012-08-18 12:40:48 +0200 |
commit | 64e69218a3b6b3a1b5e10683bc4bdb8bc4fefbb2 (patch) | |
tree | 9f0e94c49464a1495f522a035346314f90c71b76 /gtksourceview/gtksourcecompletion-private.h | |
parent | 59dd6df42da16541bc5e9ad60c05cfc4b8d995d4 (diff) | |
download | gtksourceview-64e69218a3b6b3a1b5e10683bc4bdb8bc4fefbb2.tar.gz |
Move all the main types in gtksourcetypes.h
This avoids the problem of .h inclusions cycles.
https://bugzilla.gnome.org/show_bug.cgi?id=679424
Diffstat (limited to 'gtksourceview/gtksourcecompletion-private.h')
-rw-r--r-- | gtksourceview/gtksourcecompletion-private.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gtksourceview/gtksourcecompletion-private.h b/gtksourceview/gtksourcecompletion-private.h index 4927e368..492eab18 100644 --- a/gtksourceview/gtksourcecompletion-private.h +++ b/gtksourceview/gtksourcecompletion-private.h @@ -23,12 +23,7 @@ #define __GTK_SOURCE_COMPLETION_PIVATE_H__ #include <gtk/gtk.h> - -/* Break the cycle between gtksourceview.h and gtksourcecompletion.h */ -typedef struct _GtkSourceCompletion GtkSourceCompletion; - -/* Break the cycle between completionprovider.h and completioncontext.h */ -typedef struct _GtkSourceCompletionProvider GtkSourceCompletionProvider; +#include <gtksourceview/gtksourcetypes.h> /* Forward declaration */ struct _GtkSourceView; |