[at-spi2-core] Rename text to content in AtspiTextRange to match original IDL



commit a65f04d50d97730b496cfa0d414c9a2907036c52
Author: Mike Gorse <mgorse novell com>
Date:   Wed Dec 8 10:31:53 2010 -0500

    Rename text to content in AtspiTextRange to match original IDL

 atspi/atspi-text.c |   10 +++++-----
 atspi/atspi-text.h |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c
index 99b72b6..41d9743 100644
--- a/atspi/atspi-text.c
+++ b/atspi/atspi-text.c
@@ -70,7 +70,7 @@ atspi_text_range_copy (AtspiTextRange *src)
 
   if (dst)
   {
-    dst->text = g_strdup (src->text);
+    dst->content = g_strdup (src->content);
     dst->start_offset = src->start_offset;
     dst->end_offset = src->end_offset;
   }
@@ -80,7 +80,7 @@ atspi_text_range_copy (AtspiTextRange *src)
 static void
 atspi_text_range_free (AtspiTextRange *range)
 {
-  g_free (range->text);
+  g_free (range->content);
   g_free (range);
 }
 
@@ -370,7 +370,7 @@ atspi_text_get_text_before_offset (AtspiText *obj,
     return range;
 
   _atspi_dbus_call (obj, atspi_interface_text, "GetTextBeforeOffset", error,
-                    "iu=>sii", d_offset, d_type, &range->text,
+                    "iu=>sii", d_offset, d_type, &range->content,
                     &d_start_offset, &d_end_offset);
 
   range->start_offset = d_start_offset;
@@ -411,7 +411,7 @@ atspi_text_get_text_at_offset (AtspiText *obj,
     return range;
 
   _atspi_dbus_call (obj, atspi_interface_text, "GetTextAtOffset", error,
-                    "iu=>sii", d_offset, d_type, &range->text,
+                    "iu=>sii", d_offset, d_type, &range->content,
                     &d_start_offset, &d_end_offset);
 
   range->start_offset = d_start_offset;
@@ -453,7 +453,7 @@ atspi_text_get_text_after_offset (AtspiText *obj,
     return range;
 
   _atspi_dbus_call (obj, atspi_interface_text, "GetTextAfterOffset", error,
-                    "iu=>sii", d_offset, d_type, &range->text,
+                    "iu=>sii", d_offset, d_type, &range->content,
                     &d_start_offset, &d_end_offset);
 
   range->start_offset = d_start_offset;
diff --git a/atspi/atspi-text.h b/atspi/atspi-text.h
index ce42e56..2c045d9 100644
--- a/atspi/atspi-text.h
+++ b/atspi/atspi-text.h
@@ -72,7 +72,7 @@ struct _AtspiTextRange
 {
   gint start_offset;
   gint end_offset;
-  gchar *text;
+  gchar *content;
 };
 
 /**



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