[gtksourceview] Doc: #function -> function()



commit 9853dca92786bbcda392264e9b11fa08e8d2e091
Author: SÃbastien Wilmet <swilmet gnome org>
Date:   Sat Jan 26 22:32:48 2013 +0100

    Doc: #function -> function()

 gtksourceview/gtksourcecompletion.c         |   10 +++++-----
 gtksourceview/gtksourcecompletionproposal.c |   16 ++++++++--------
 gtksourceview/gtksourcegutterrenderer.c     |    3 +--
 gtksourceview/gtksourcemark.c               |    4 ++--
 gtksourceview/gtksourceundomanager.c        |   12 ++++++------
 5 files changed, 22 insertions(+), 23 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 4a95e7b..0bbbe42 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -3515,7 +3515,7 @@ gtk_source_completion_get_view (GtkSourceCompletion *completion)
  *
  * Returns: (transfer floating): a new #GtkSourceCompletionContext.
  * The reference being returned is a 'floating' reference,
- * so if you invoke #gtk_source_completion_show with this context
+ * so if you invoke gtk_source_completion_show() with this context
  * you don't need to unref it.
  */
 GtkSourceCompletionContext *
@@ -3568,9 +3568,9 @@ gtk_source_completion_move_window (GtkSourceCompletion *completion,
  *
  * Block interactive completion. This can be used to disable interactive
  * completion when inserting or deleting text from the buffer associated with
- * the completion. Use #gtk_source_completion_unblock_interactive to enable
+ * the completion. Use gtk_source_completion_unblock_interactive() to enable
  * interactive completion again.
- **/
+ */
 void
 gtk_source_completion_block_interactive (GtkSourceCompletion *completion)
 {
@@ -3587,9 +3587,9 @@ gtk_source_completion_block_interactive (GtkSourceCompletion *completion)
  * @completion: a #GtkSourceCompletion.
  *
  * Unblock interactive completion. This can be used after using
- * #gtk_source_completion_block_interactive to enable interactive completion
+ * gtk_source_completion_block_interactive() to enable interactive completion
  * again.
- **/
+ */
 void
 gtk_source_completion_unblock_interactive (GtkSourceCompletion *completion)
 {
diff --git a/gtksourceview/gtksourcecompletionproposal.c b/gtksourceview/gtksourcecompletionproposal.c
index d795937..e958830 100644
--- a/gtksourceview/gtksourcecompletionproposal.c
+++ b/gtksourceview/gtksourcecompletionproposal.c
@@ -135,7 +135,7 @@ gtk_source_completion_proposal_default_init (GtkSourceCompletionProposalIface *i
  *
  * Gets the label of @proposal. The label is shown in the list of proposals as
  * plain text. If you need any markup (such as bold or italic text), you have
- * to implement #gtk_source_completion_proposal_get_markup. The returned string
+ * to implement gtk_source_completion_proposal_get_markup(). The returned string
  * must be freed with g_free().
  *
  * Returns: a new string containing the label of @proposal.
@@ -154,7 +154,7 @@ gtk_source_completion_proposal_get_label (GtkSourceCompletionProposal *proposal)
  *
  * Gets the label of @proposal with markup. The label is shown in the list of
  * proposals and may contain markup. This will be used instead of
- * #gtk_source_completion_proposal_get_label if implemented. The returned string
+ * gtk_source_completion_proposal_get_label() if implemented. The returned string
  * must be freed with g_free().
  *
  * Returns: a new string containing the label of @proposal with markup.
@@ -228,11 +228,11 @@ gtk_source_completion_proposal_get_info (GtkSourceCompletionProposal *proposal)
  * @proposal: a #GtkSourceCompletionProposal.
  *
  * Get the hash value of @proposal. This is used to (together with
- * #gtk_source_completion_proposal_equal) to match proposals in the completion
- * model. By default, it uses a direct hash (#g_direct_hash).
+ * gtk_source_completion_proposal_equal()) to match proposals in the completion
+ * model. By default, it uses a direct hash (g_direct_hash()).
  *
  * Returns: The hash value of @proposal.
- **/
+ */
 guint
 gtk_source_completion_proposal_hash (GtkSourceCompletionProposal *proposal)
 {
@@ -247,11 +247,11 @@ gtk_source_completion_proposal_hash (GtkSourceCompletionProposal *proposal)
  * @other: a #GtkSourceCompletionProposal.
  *
  * Get whether two proposal objects are the same.  This is used to (together
- * with #gtk_source_completion_proposal_hash) to match proposals in the
- * completion model. By default, it uses direct equality (#g_direct_equal).
+ * with gtk_source_completion_proposal_hash()) to match proposals in the
+ * completion model. By default, it uses direct equality (g_direct_equal()).
  *
  * Returns: %TRUE if @proposal and @object are the same proposal
- **/
+ */
 gboolean
 gtk_source_completion_proposal_equal (GtkSourceCompletionProposal *proposal,
                                       GtkSourceCompletionProposal *other)
diff --git a/gtksourceview/gtksourcegutterrenderer.c b/gtksourceview/gtksourcegutterrenderer.c
index abba13f..75d7fda 100644
--- a/gtksourceview/gtksourcegutterrenderer.c
+++ b/gtksourceview/gtksourcegutterrenderer.c
@@ -582,10 +582,9 @@ gtk_source_gutter_renderer_class_init (GtkSourceGutterRendererClass *klass)
 	 * @renderer: the #GtkSourceGutterRenderer who emits the signal
 	 *
 	 * The ::queue-draw signal is emitted when the renderer needs
-	 * to be redrawn. Use #gtk_source_gutter_renderer_queue_draw
+	 * to be redrawn. Use gtk_source_gutter_renderer_queue_draw()
 	 * to emit this signal from an implementation of the
 	 * #GtkSourceGutterRenderer interface.
-	 *
 	 */
 	signals[QUEUE_DRAW] =
 		g_signal_new ("queue-draw",
diff --git a/gtksourceview/gtksourcemark.c b/gtksourceview/gtksourcemark.c
index b02f162..b90ec34 100644
--- a/gtksourceview/gtksourcemark.c
+++ b/gtksourceview/gtksourcemark.c
@@ -35,8 +35,8 @@
  *
  * #GtkSourceMark<!-- -->s are organised in categories which you have to set
  * when you create the mark. Each category can have a pixbuf and a priority
- * associated using #gtk_source_view_set_mark_category_pixbuf and
- * #gtk_source_view_set_mark_category_priority. The pixbuf will be displayed in
+ * associated using gtk_source_view_set_mark_category_pixbuf() and
+ * gtk_source_view_set_mark_category_priority(). The pixbuf will be displayed in
  * the margin at the line where the mark residents if the
  * #GtkSourceView:show-line-marks property is set to %TRUE. If there are
  * multiple marks in the same line, the pixbufs will be drawn on top of each
diff --git a/gtksourceview/gtksourceundomanager.c b/gtksourceview/gtksourceundomanager.c
index e12b696..2345a12 100644
--- a/gtksourceview/gtksourceundomanager.c
+++ b/gtksourceview/gtksourceundomanager.c
@@ -41,11 +41,11 @@
  *
  * The #GtkSourceUndoManager interface can be implemented to provide custom
  * undo management to a #GtkSourceBuffer. Use
- * #gtk_source_buffer_set_undo_manager to install a custom undo manager for
+ * gtk_source_buffer_set_undo_manager() to install a custom undo manager for
  * a particular source buffer.
  *
- * Use #gtk_source_undo_manager_can_undo_changed and
- * #gtk_source_undo_manager_can_redo_changed when respectively the undo state
+ * Use gtk_source_undo_manager_can_undo_changed() and
+ * gtk_source_undo_manager_can_redo_changed() when respectively the undo state
  * or redo state of the undo stack has changed.
  *
  * Since: 2.10
@@ -198,7 +198,7 @@ gtk_source_undo_manager_can_redo (GtkSourceUndoManager *manager)
  * @manager: a #GtkSourceUndoManager.
  *
  * Perform a single undo. Calling this function when there are no undo operations
- * available is an error. Use #gtk_source_undo_manager_can_undo to find out
+ * available is an error. Use gtk_source_undo_manager_can_undo() to find out
  * if there are undo operations available.
  *
  * Since: 2.10
@@ -216,7 +216,7 @@ gtk_source_undo_manager_undo (GtkSourceUndoManager *manager)
  * @manager: a #GtkSourceUndoManager.
  *
  * Perform a single redo. Calling this function when there are no redo operations
- * available is an error. Use #gtk_source_undo_manager_can_redo to find out
+ * available is an error. Use gtk_source_undo_manager_can_redo() to find out
  * if there are redo operations available.
  *
  * Since: 2.10
@@ -234,7 +234,7 @@ gtk_source_undo_manager_redo (GtkSourceUndoManager *manager)
  * @manager: a #GtkSourceUndoManager.
  *
  * Begin a not undoable action on the buffer. All changes between this call
- * and the call to #gtk_source_undo_manager_end_not_undoable_action cannot
+ * and the call to gtk_source_undo_manager_end_not_undoable_action() cannot
  * be undone. This function should be re-entrant.
  *
  * Since: 2.10



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