[gtksourceview] Better parameter type for _gtk_source_completion_context_new()



commit 7ea5775cb45c183ae5fa1f9c57de472c6cb6261b
Author: SÃbastien Wilmet <swilmet gnome org>
Date:   Tue Aug 14 00:59:03 2012 +0200

    Better parameter type for _gtk_source_completion_context_new()
    
    It is not strictly useful since the function is private, but since it's
    easy to do, why not.

 gtksourceview/gtksourcecompletioncontext.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletioncontext.h b/gtksourceview/gtksourcecompletioncontext.h
index bec65f8..e86617c 100644
--- a/gtksourceview/gtksourcecompletioncontext.h
+++ b/gtksourceview/gtksourcecompletioncontext.h
@@ -24,6 +24,7 @@
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
+#include "gtksourcecompletion-private.h"
 
 G_BEGIN_DECLS
 
@@ -55,7 +56,6 @@ typedef enum
 
 /* Forward declaration */
 struct _GtkSourceCompletionProvider;
-struct _GtkSourceCompletion;
 
 struct _GtkSourceCompletionContext {
 	GInitiallyUnowned parent;
@@ -88,7 +88,7 @@ GtkSourceCompletionActivation
 		 gtk_source_completion_context_get_activation	(GtkSourceCompletionContext          *context);
 
 GtkSourceCompletionContext *
-		_gtk_source_completion_context_new		(struct _GtkSourceCompletion         *completion,
+		_gtk_source_completion_context_new		(GtkSourceCompletion                 *completion,
 								 GtkTextIter                         *position);
 
 void		_gtk_source_completion_context_cancel		(GtkSourceCompletionContext          *context);



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