Commit a780affd authored by Sébastien Wilmet's avatar Sébastien Wilmet

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

parent 9d4a85a1
......@@ -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>
......
......@@ -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;
......
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment