[gtksourceview/wip/search] compute_nb_of_lines() -> compute_number_of_lines()



commit 823671efe26dd827bc9e81871cb568c64056b62d
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jul 6 19:23:40 2013 +0200

    compute_nb_of_lines() -> compute_number_of_lines()

 gtksourceview/gtksourcesearch.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourcesearch.c b/gtksourceview/gtksourcesearch.c
index 276ad74..5ad887c 100644
--- a/gtksourceview/gtksourcesearch.c
+++ b/gtksourceview/gtksourcesearch.c
@@ -1629,7 +1629,7 @@ _gtk_source_search_new (GtkSourceBuffer *buffer)
 }
 
 static gint
-compute_nb_of_lines (const gchar *text)
+compute_number_of_lines (const gchar *text)
 {
        const gchar *p;
        gint len;
@@ -1682,7 +1682,7 @@ _gtk_source_search_set_text (GtkSourceSearch *search,
                search->priv->text = g_strdup (text);
        }
 
-       search->priv->text_nb_lines = compute_nb_of_lines (search->priv->text);
+       search->priv->text_nb_lines = compute_number_of_lines (search->priv->text);
 
        update (search);
 }



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