[gspell/wip/text-view-class] text-view: rename get_inline_checker() -> get_from_gtk_text_view()



commit a780affd01e78de5c42b9fdeb223735799f7276e
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Mar 11 16:53:00 2016 +0100

    text-view: rename get_inline_checker() -> get_from_gtk_text_view()

 docs/reference/gspell-1.0-sections.txt |    2 +-
 gspell/gspell-text-view.c              |    4 ++--
 gspell/gspell-text-view.h              |    2 +-
 tests/test-spell.c                     |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/gspell-1.0-sections.txt b/docs/reference/gspell-1.0-sections.txt
index 9bc9d7f..71276de 100644
--- a/docs/reference/gspell-1.0-sections.txt
+++ b/docs/reference/gspell-1.0-sections.txt
@@ -54,7 +54,7 @@ GSPELL_TYPE_TEXT_BUFFER
 <FILE>text-view</FILE>
 <TITLE>GspellTextView</TITLE>
 GspellTextView
-gspell_text_view_get_inline_checker
+gspell_text_view_get_from_gtk_text_view
 gspell_text_view_get_enabled
 gspell_text_view_set_enabled
 <SUBSECTION Standard>
diff --git a/gspell/gspell-text-view.c b/gspell/gspell-text-view.c
index 097adaa..382a573 100644
--- a/gspell/gspell-text-view.c
+++ b/gspell/gspell-text-view.c
@@ -257,7 +257,7 @@ gspell_text_view_init (GspellTextView *gspell_view)
 }
 
 /**
- * gspell_text_view_get_inline_checker:
+ * gspell_text_view_get_from_gtk_text_view:
  * @gtk_view: a #GtkTextView.
  *
  * Returns the #GspellTextView of @gtk_view. The returned object is guaranteed
@@ -266,7 +266,7 @@ gspell_text_view_init (GspellTextView *gspell_view)
  * Returns: (transfer none): the #GspellTextView of @gtk_view.
  */
 GspellTextView *
-gspell_text_view_get_inline_checker (GtkTextView *gtk_view)
+gspell_text_view_get_from_gtk_text_view (GtkTextView *gtk_view)
 {
        GspellTextView *gspell_view;
 
diff --git a/gspell/gspell-text-view.h b/gspell/gspell-text-view.h
index aa521af..b5cf101 100644
--- a/gspell/gspell-text-view.h
+++ b/gspell/gspell-text-view.h
@@ -41,7 +41,7 @@ struct _GspellTextViewClass
        gpointer padding[8];
 };
 
-GspellTextView *       gspell_text_view_get_inline_checker     (GtkTextView *gtk_view);
+GspellTextView *       gspell_text_view_get_from_gtk_text_view (GtkTextView *gtk_view);
 
 void                   gspell_text_view_set_enabled            (GspellTextView *gspell_view,
                                                                 gboolean        enabled);
diff --git a/tests/test-spell.c b/tests/test-spell.c
index 9cd7d59..e748634 100644
--- a/tests/test-spell.c
+++ b/tests/test-spell.c
@@ -142,7 +142,7 @@ get_sidebar (TestSpell *spell)
        gtk_container_add (GTK_CONTAINER (sidebar),
                           highlight_checkbutton);
 
-       inline_checker = gspell_text_view_get_inline_checker (spell->view);
+       inline_checker = gspell_text_view_get_from_gtk_text_view (spell->view);
        g_object_bind_property (highlight_checkbutton, "active",
                                inline_checker, "enabled",
                                G_BINDING_DEFAULT);


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