[gtksourceview/gtksourcecompletion] Updated documentation
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtksourceview/gtksourcecompletion] Updated documentation
- Date: Fri, 24 Apr 2009 17:00:01 -0400 (EDT)
commit 4d0be8067daddb1eb543d9219992e6f2568204db
Author: Jesse van den Kieboom <jesse icecrew nl>
Date: Fri Apr 24 22:59:32 2009 +0200
Updated documentation
---
docs/reference/Makefile.am | 1 +
docs/reference/gtksourceview-2.0-sections.txt | 1 -
docs/reference/gtksourceview-2.0.types | 12 ++++++++++++
gtksourceview/gtksourcecompletion.h | 6 +++---
gtksourceview/gtksourcecompletioninfo.h | 8 ++++----
gtksourceview/gtksourcecompletionprovider.c | 2 +-
6 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 470f0ed..98fbbe8 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -30,6 +30,7 @@ IGNORE_HFILES = \
gtksourceview-marshal.h \
gtksourceview-typebuiltins.h \
gtksourceview-utils.h \
+ gtksourcecompletionutils.h \
gtktextregion.h \
gtksourceengine.h \
gtksourcecontextengine.h \
diff --git a/docs/reference/gtksourceview-2.0-sections.txt b/docs/reference/gtksourceview-2.0-sections.txt
index 8e8df81..0240b92 100644
--- a/docs/reference/gtksourceview-2.0-sections.txt
+++ b/docs/reference/gtksourceview-2.0-sections.txt
@@ -303,7 +303,6 @@ gtk_source_completion_remove_provider
gtk_source_completion_show
gtk_source_completion_hide
gtk_source_completion_get_info_window
-gtk_source_completion_get_from_provider
<SUBSECTION Standard>
GTK_IS_SOURCE_COMPLETION
GTK_IS_SOURCE_COMPLETION_CLASS
diff --git a/docs/reference/gtksourceview-2.0.types b/docs/reference/gtksourceview-2.0.types
index 74b795d..14bb7ee 100644
--- a/docs/reference/gtksourceview-2.0.types
+++ b/docs/reference/gtksourceview-2.0.types
@@ -6,6 +6,12 @@
#include <gtksourceview/gtksourcestyleschememanager.h>
#include <gtksourceview/gtksourcemark.h>
+#include <gtksourceview/gtksourcecompletion.h>
+#include <gtksourceview/gtksourcecompletionprovider.h>
+#include <gtksourceview/gtksourcecompletionproposal.h>
+#include <gtksourceview/gtksourcecompletionitem.h>
+#include <gtksourceview/gtksourcecompletioninfo.h>
+
gtk_source_view_get_type
gtk_source_buffer_get_type
gtk_source_language_get_type
@@ -15,3 +21,9 @@ gtk_source_style_get_type
gtk_source_style_scheme_get_type
gtk_source_style_scheme_manager_get_type
gtk_source_mark_get_type
+
+gtk_source_completion_get_type
+gtk_source_completion_provider_get_type
+gtk_source_completion_proposal_get_type
+gtk_source_completion_item_get_type
+gtk_source_completion_info_get_type
diff --git a/gtksourceview/gtksourcecompletion.h b/gtksourceview/gtksourcecompletion.h
index 4b1ef41..684fe83 100644
--- a/gtksourceview/gtksourcecompletion.h
+++ b/gtksourceview/gtksourcecompletion.h
@@ -76,9 +76,6 @@ GType gtk_source_completion_get_type (void) G_GNUC_CONST;
GQuark gtk_source_completion_error_quark (void);
-struct _GtkSourceView *
- gtk_source_completion_get_view (GtkSourceCompletion *completion);
-
gboolean gtk_source_completion_add_provider (GtkSourceCompletion *completion,
GtkSourceCompletionProvider *provider,
GError **error);
@@ -97,6 +94,9 @@ void gtk_source_completion_hide (GtkSourceCompletion *completion);
GtkSourceCompletionInfo *
gtk_source_completion_get_info_window (GtkSourceCompletion *completion);
+struct _GtkSourceView *
+ gtk_source_completion_get_view (GtkSourceCompletion *completion);
+
G_END_DECLS
#endif
diff --git a/gtksourceview/gtksourcecompletioninfo.h b/gtksourceview/gtksourcecompletioninfo.h
index a51451b..5873a43 100644
--- a/gtksourceview/gtksourcecompletioninfo.h
+++ b/gtksourceview/gtksourcecompletioninfo.h
@@ -60,20 +60,20 @@ GType gtk_source_completion_info_get_type (void) G_GNUC_CONST;
GtkSourceCompletionInfo *
gtk_source_completion_info_new (void);
-void gtk_source_completion_info_move_to_iter (GtkSourceCompletionInfo *self,
+void gtk_source_completion_info_move_to_iter (GtkSourceCompletionInfo *info,
GtkTextView *view,
GtkTextIter *iter);
-void gtk_source_completion_info_set_sizing (GtkSourceCompletionInfo *self,
+void gtk_source_completion_info_set_sizing (GtkSourceCompletionInfo *info,
gint width,
gint height,
gboolean shrink_width,
gboolean shrink_height);
-void gtk_source_completion_info_set_widget (GtkSourceCompletionInfo *self,
+void gtk_source_completion_info_set_widget (GtkSourceCompletionInfo *info,
GtkWidget *widget);
-GtkWidget *gtk_source_completion_info_get_widget (GtkSourceCompletionInfo *self);
+GtkWidget *gtk_source_completion_info_get_widget (GtkSourceCompletionInfo *info);
G_END_DECLS
diff --git a/gtksourceview/gtksourcecompletionprovider.c b/gtksourceview/gtksourcecompletionprovider.c
index 697ee1d..59f6e30 100644
--- a/gtksourceview/gtksourcecompletionprovider.c
+++ b/gtksourceview/gtksourcecompletionprovider.c
@@ -260,7 +260,7 @@ gtk_source_completion_provider_get_interactive (GtkSourceCompletionProvider *pro
*
* Get whether @provider is automatically included in the list of completions.
* This means that it will be shown in the default list of completions as
- * activated by the "show-completion" keybinding (<Ctrl>space by default) on
+ * activated by the "show-completion" keybinding (<Ctrl>space by default) on
* the #GtkSourceView.
*
* Returns: %TRUE if @provider is automatically included, or %FALSE otherwise.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]