summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Cameron <bcameron@src.gnome.org>2001-06-01 16:57:28 +0000
committerBrian Cameron <bcameron@src.gnome.org>2001-06-01 16:57:28 +0000
commit7c2a5a527404b20a1eb094991e1163e107358f00 (patch)
tree0cadc461585ec4fcb4ba0dce77e9b49bfa2b6da0
parent5b4b18c80d2981f76ed80434cbaeb97b414a4b6d (diff)
downloadatk-7c2a5a527404b20a1eb094991e1163e107358f00.tar.gz
Removed get_row_col_at_offset from atktext.[ch]
-rw-r--r--ChangeLog3
-rwxr-xr-xatk/atktext.c31
-rwxr-xr-xatk/atktext.h8
3 files changed, 2 insertions, 40 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d2edfd..480235b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,7 +9,8 @@ Fri Jun 01 Brian Cameron <brian.cameron@sun.com>
* atk/atkeditabletext.[ch], atk/atktext.[ch]
* docs/atk-overrides.txt, docs/Makefile.am
Updated the interface for dealing with selected
- text to handle multiple selected regions. Added
+ text to handle multiple selected regions. Removed
+ get_row_col_at_offset from atktext.[ch]. Added
docs/atk-overrides.txt file.
Thu May 31 Brian Cameron <brian.cameron@sun.com>
diff --git a/atk/atktext.c b/atk/atktext.c
index 18bd2d5..e509dd3 100755
--- a/atk/atktext.c
+++ b/atk/atktext.c
@@ -279,37 +279,6 @@ atk_text_get_caret_offset (AtkText *text)
}
/**
- * atk_text_get_row_col_at_offset
- * @text: an #AtkText
- * @offset: position
- * @row: row number
- * @col: column number
- *
- * Given an @offset, the @row and @col arguments are filled appropriately.
- **/
-void
-atk_text_get_row_col_at_offset (AtkText *text,
- gint offset,
- gint *row,
- gint *col)
-{
- AtkTextIface *iface;
-
- g_return_if_fail (text != NULL);
- g_return_if_fail (ATK_IS_TEXT (text));
-
- iface = ATK_TEXT_GET_IFACE (text);
-
- if (iface->get_row_col_at_offset)
- (*(iface->get_row_col_at_offset)) (text, offset, row, col);
- else
- {
- *row = 0;
- *col = 0;
- }
-}
-
-/**
* atk_text_get_range_attributes
* @text: an #AtkText
* @start_offset: start position
diff --git a/atk/atktext.h b/atk/atktext.h
index ca07507..bc63ce0 100755
--- a/atk/atktext.h
+++ b/atk/atktext.h
@@ -83,10 +83,6 @@ struct _AtkTextIface
gint offset,
AtkTextBoundary boundary_type);
gint (* get_caret_offset) (AtkText *text);
- void (* get_row_col_at_offset) (AtkText *text,
- gint offset,
- gint *row,
- gint *col);
PangoAttrList* (* get_range_attributes) (AtkText *text,
gint start_offset,
gint end_offset);
@@ -145,10 +141,6 @@ gchar* atk_text_get_text_before_offset (AtkText *tex
gint offset,
AtkTextBoundary boundary_type);
gint atk_text_get_caret_offset (AtkText *text);
-void atk_text_get_row_col_at_offset (AtkText *text,
- gint offset,
- gint *row,
- gint *col);
PangoAttrList* atk_text_get_range_attributes (AtkText *text,
gint start_offset,
gint end_offset);