summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Haneman <billh@src.gnome.org>2006-09-14 10:58:21 +0000
committerBill Haneman <billh@src.gnome.org>2006-09-14 10:58:21 +0000
commiteb11e349d3a4d599db57d179bd8c7ade77ada699 (patch)
treeee0cbcc48a4dc407e2006d0a8fa59e1587630cc0
parente6a797b46a957e7bf08e6235581b28a7ba6807c5 (diff)
downloadatk-eb11e349d3a4d599db57d179bd8c7ade77ada699.tar.gz
Fix win32 build (bug #355312, patch from Cedric Gustin), and
deprecate atk_hyperlink_is_selected_link (bug #340553) since ATK_STATE_SELECTED gives the same info.
-rw-r--r--ChangeLog8
-rw-r--r--atk/atk.def2
-rwxr-xr-xatk/atkhyperlink.c4
3 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 25cf54e..d288d92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2006-09-14 Bill Haneman <bill.haneman@sun.com>
+ * atk/atk.def: Added some missing symbols for win32 build.
+ Patch from Cedric Gustin, bug #355912.
+
+ * atk/atkhyperlink.c:
+ (atk_hyperlink_is_selected_link): Mark deprecated, since
+ ATK_STATE_SELECTED gives the same information for hyperlinks.
+ Bug #340553.
+
* atk/atktext.c:
(atk_text_attribute_get_value): Allow value of
PANGO_UNDERLINE_ERROR, since this is not an error condition, but
diff --git a/atk/atk.def b/atk/atk.def
index c02586c..efde90c 100644
--- a/atk/atk.def
+++ b/atk/atk.def
@@ -65,6 +65,7 @@ EXPORTS
atk_hypertext_get_link_index
atk_hypertext_get_n_links
atk_hypertext_get_type
+ atk_hyperlink_state_flags_get_type
atk_image_get_image_description
atk_image_get_image_locale
atk_image_get_image_position
@@ -203,6 +204,7 @@ EXPORTS
atk_text_attribute_register
atk_text_boundary_get_type
atk_text_clip_type_get_type
+ atk_text_free_ranges
atk_text_get_bounded_ranges
atk_text_get_caret_offset
atk_text_get_character_at_offset
diff --git a/atk/atkhyperlink.c b/atk/atkhyperlink.c
index 9db0c09..71b113c 100755
--- a/atk/atkhyperlink.c
+++ b/atk/atkhyperlink.c
@@ -358,6 +358,10 @@ atk_hyperlink_get_n_anchors (AtkHyperlink *link)
*
* Since: ATK 1.4
*
+ * @Deprecated: This method is deprecated since ATK version 1.8.
+ * Please use ATK_STATE_SELECTED to indicate when a hyperlink within a
+ * Hypertext container is selected.
+ *
* Returns: True is the AtkHyperlink is selected, False otherwise
**/
gboolean