[gtkhtml/gnome-3-12] Bug 729414 - Correct spelling typos in devel docs and code comments



commit 14380b675f91d7dea140374df5f1da603c591324
Author: Ville Skyttä <ville skytta iki fi>
Date:   Thu May 29 16:46:56 2014 +0200

    Bug 729414 - Correct spelling typos in devel docs and code comments

 TODO                   |    2 +-
 doc/tmpl/gtkhtml.sgml  |    2 +-
 gtkhtml/gtkhtml.c      |    2 +-
 gtkhtml/htmlclueflow.c |    2 +-
 gtkhtml/htmlcursor.c   |    2 +-
 gtkhtml/htmlengine.c   |    4 ++--
 gtkhtml/htmlundo.c     |    2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/TODO b/TODO
index 7af6abc..a5d5fb4 100644
--- a/TODO
+++ b/TODO
@@ -36,6 +36,6 @@
 - If editing an HTML file loaded (or already saved at least once) where
   we thus know its location in the file system, pathnames for images,
   background pixmaps, and links that point to files in the same file
-  system subtree sould be automatically converted to relative URIs
+  system subtree should be automatically converted to relative URIs
   instead of full absolute path file: URIs. That would be much more
   useful.
diff --git a/doc/tmpl/gtkhtml.sgml b/doc/tmpl/gtkhtml.sgml
index 65199fc..cda8d17 100644
--- a/doc/tmpl/gtkhtml.sgml
+++ b/doc/tmpl/gtkhtml.sgml
@@ -8,7 +8,7 @@ widget for rendering HTML
 <para>
 GtkHTML widget is lightweight HTML viewer / container. It provides an easy way for
 viewing HTML documents in your application and for layout UI of your
-application throught HTML.
+application through HTML.
 </para>
 
 <!-- ##### SECTION See_Also ##### -->
diff --git a/gtkhtml/gtkhtml.c b/gtkhtml/gtkhtml.c
index 861200c..541e942 100644
--- a/gtkhtml/gtkhtml.c
+++ b/gtkhtml/gtkhtml.c
@@ -3973,7 +3973,7 @@ gtk_html_save (GtkHTML *html,
  * by calling the function listed in @receiver data becomes avaiable.  When @receiver is
  * called @user_data is passed in as the user_data parameter.
  *
- * Returns: TRUE if the export was successfull, FALSE otherwise.
+ * Returns: TRUE if the export was successful, FALSE otherwise.
  **/
 gboolean
 gtk_html_export (GtkHTML *html,
diff --git a/gtkhtml/htmlclueflow.c b/gtkhtml/htmlclueflow.c
index 9bbbe07..229f16f 100644
--- a/gtkhtml/htmlclueflow.c
+++ b/gtkhtml/htmlclueflow.c
@@ -980,7 +980,7 @@ layout_line (HTMLObject *o,
 
        if (html_object_is_text (begin)) {
                update_leafs_children_changed_size (begin, leaf_children_changed_size);
-               /* this ever succeds and creates slaves */
+               /* this ever succeeds and creates slaves */
                html_object_calc_size (begin, painter, changed_objs);
                html_object_fit_line (begin, painter, first, first, FALSE, 0);
                begin = begin->next;
diff --git a/gtkhtml/htmlcursor.c b/gtkhtml/htmlcursor.c
index ab835a4..c981563 100644
--- a/gtkhtml/htmlcursor.c
+++ b/gtkhtml/htmlcursor.c
@@ -621,7 +621,7 @@ html_cursor_real_jump_to (HTMLCursor *cursor,
  * Where exactly move to, depends on the is_cursor_position in PangoLogAttr say.
  * This is useful for such as Indic languages that relies on that feature.
  *
- * Return value: %TRUE if successfull, %FALSE if failed.
+ * Return value: %TRUE if successful, %FALSE if failed.
  **/
 gboolean
 html_cursor_jump_to (HTMLCursor *cursor,
diff --git a/gtkhtml/htmlengine.c b/gtkhtml/htmlengine.c
index 3da70b5..b47f920 100644
--- a/gtkhtml/htmlengine.c
+++ b/gtkhtml/htmlengine.c
@@ -4244,7 +4244,7 @@ html_engine_finalize (GObject *object)
 
         /* it is critical to destroy timers immediately so that
         * if widgets contained in the object tree manage to iterate the
-        * mainloop we don't reenter in an inconsistant state.
+        * mainloop we don't reenter in an inconsistent state.
         */
        if (engine->timerId != 0) {
                g_source_remove (engine->timerId);
@@ -4967,7 +4967,7 @@ update_embedded (GtkWidget *widget,
        HTMLObject *obj;
 
        /* FIXME: this is a hack to update all the embedded widgets when
-        * they get moved off screen it isn't gracefull, but it should be a effective
+        * they get moved off screen it isn't graceful, but it should be a effective
         * it also duplicates the draw_obj function in the drawqueue function very closely
         * the common code in these functions should be merged and removed, but until then
         * enjoy having your objects out of the way :)
diff --git a/gtkhtml/htmlundo.c b/gtkhtml/htmlundo.c
index bca72f7..66c7ef3 100644
--- a/gtkhtml/htmlundo.c
+++ b/gtkhtml/htmlundo.c
@@ -353,7 +353,7 @@ html_undo_thaw (HTMLUndo *undo)
  *               from cut_buffer on actual cursor position
  *             - if you don't use udo levels, it will generate two undo
  *               steps/actions replace
- *             - replace uses paste operation, so when it replaces N occurences,
+ *             - replace uses paste operation, so when it replaces N occurrences,
  *               it generates 2*N steps (without using undo levels in paste and
  *               replace)
  *


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