Change parameter names *offset to *_offset Do not crash if NULL pointers
[platform/upstream/atk.git] / atk / atktext.h
index f01aeb7..ca3ddab 100755 (executable)
@@ -310,20 +310,20 @@ struct _AtkTextIface
   gchar*         (* get_text_after_offset)        (AtkText          *text,
                                                    gint             offset,
                                                    AtkTextBoundary  boundary_type,
-                                                  gint             *startOffset,
-                                                  gint             *endOffset);
+                                                  gint             *start_offset,
+                                                  gint             *end_offset);
   gchar*         (* get_text_at_offset)           (AtkText          *text,
                                                    gint             offset,
                                                    AtkTextBoundary  boundary_type,
-                                                  gint             *startOffset,
-                                                  gint             *endOffset);
+                                                  gint             *start_offset,
+                                                  gint             *end_offset);
   gunichar       (* get_character_at_offset)      (AtkText          *text,
                                                    gint             offset);
   gchar*         (* get_text_before_offset)       (AtkText          *text,
                                                    gint             offset,
                                                    AtkTextBoundary  boundary_type,
-                                                  gint             *startOffset,
-                                                  gint             *endOffset);
+                                                  gint             *start_offset,
+                                                  gint             *end_offset);
   gint           (* get_caret_offset)             (AtkText          *text);
   AtkAttributeSet* (* ref_run_attributes)         (AtkText         *text,
                                                   gint             offset,
@@ -384,18 +384,18 @@ gunichar      atk_text_get_character_at_offset            (AtkText          *tex
 gchar*        atk_text_get_text_after_offset              (AtkText          *text,
                                                            gint             offset,
                                                            AtkTextBoundary  boundary_type,
-                                                          gint             *startOffset,
-                                                          gint             *endOffset);
+                                                          gint             *start_offset,
+                                                          gint             *end_offset);
 gchar*        atk_text_get_text_at_offset                 (AtkText          *text,
                                                            gint             offset,
                                                            AtkTextBoundary  boundary_type,
-                                                          gint             *startOffset,
-                                                          gint             *endOffset);
+                                                          gint             *start_offset,
+                                                          gint             *end_offset);
 gchar*        atk_text_get_text_before_offset             (AtkText          *text,
                                                            gint             offset,
                                                            AtkTextBoundary  boundary_type,
-                                                          gint             *startOffset,
-                                                          gint             *endOffset);
+                                                          gint             *start_offset,
+                                                          gint             *end_offset);
 gint          atk_text_get_caret_offset                   (AtkText          *text);
 void          atk_text_get_character_extents              (AtkText          *text,
                                                            gint             offset,