[gtksourceview] Use the GtkSourceView type instead of "struct _GtkSourceView"
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Use the GtkSourceView type instead of "struct _GtkSourceView"
- Date: Fri, 28 Dec 2012 20:55:34 +0000 (UTC)
commit 1ddc53a9f465209655483084940a2413344c7b73
Author: SÃbastien Wilmet <swilmet gnome org>
Date: Tue Dec 25 23:06:35 2012 +0100
Use the GtkSourceView type instead of "struct _GtkSourceView"
gtksourceview/gtksourcecompletion-private.h | 5 +----
gtksourceview/gtksourcegutter-private.h | 9 ++++-----
gtksourceview/gtksourcegutter.c | 1 +
gtksourceview/gtksourceview.c | 1 +
4 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion-private.h b/gtksourceview/gtksourcecompletion-private.h
index cf9f930..8791834 100644
--- a/gtksourceview/gtksourcecompletion-private.h
+++ b/gtksourceview/gtksourcecompletion-private.h
@@ -25,11 +25,8 @@
#include <gtk/gtk.h>
#include <gtksourceview/gtksourcetypes.h>
-/* Forward declaration */
-struct _GtkSourceView;
-
G_GNUC_INTERNAL
-GtkSourceCompletion *gtk_source_completion_new (struct _GtkSourceView *source_view);
+GtkSourceCompletion *gtk_source_completion_new (GtkSourceView *source_view);
#endif /* __GTK_SOURCE_COMPLETION_PIVATE_H__ */
diff --git a/gtksourceview/gtksourcegutter-private.h b/gtksourceview/gtksourcegutter-private.h
index 028af49..eb00fa1 100644
--- a/gtksourceview/gtksourcegutter-private.h
+++ b/gtksourceview/gtksourcegutter-private.h
@@ -22,15 +22,14 @@
#ifndef __GTK_SOURCE_GUTTER_PRIVATE_H__
#define __GTK_SOURCE_GUTTER_PRIVATE_H__
-#include "gtksourcegutter.h"
+#include <gtk/gtk.h>
+#include "gtksourcetypes.h"
G_BEGIN_DECLS
-struct _GtkSourceView;
-
G_GNUC_INTERNAL
-GtkSourceGutter *gtk_source_gutter_new (struct _GtkSourceView *view,
- GtkTextWindowType type);
+GtkSourceGutter *gtk_source_gutter_new (GtkSourceView *view,
+ GtkTextWindowType type);
G_END_DECLS
diff --git a/gtksourceview/gtksourcegutter.c b/gtksourceview/gtksourcegutter.c
index ea784ec..68fee00 100644
--- a/gtksourceview/gtksourcegutter.c
+++ b/gtksourceview/gtksourcegutter.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "gtksourcegutter.h"
#include "gtksourcegutter-private.h"
#include "gtksourceview.h"
#include "gtksourceview-i18n.h"
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 22882ae..36404b4 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -43,6 +43,7 @@
#include "gtksourcecompletionprovider.h"
#include "gtksourcecompletion-private.h"
#include "gtksourcecompletionutils.h"
+#include "gtksourcegutter.h"
#include "gtksourcegutter-private.h"
#include "gtksourcegutterrendererlines.h"
#include "gtksourcegutterrenderermarks.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]