* Boston, MA 02111-1307, USA.
*/
-#undef ATK_DISABLE_DEPRECATED
+#include "config.h"
#include "atkhyperlink.h"
-#include "atkintl.h"
+#include <glib/gi18n-lib.h>
/**
* SECTION:atkhyperlink
klass->link_activated = NULL;
+ /**
+ * AtkHyperlink:selected-link:
+ *
+ * Selected link
+ *
+ * Deprecated: 1.8: Please use ATK_STATE_FOCUSABLE for all links, and
+ * ATK_STATE_FOCUSED for focused links.
+ */
g_object_class_install_property (gobject_class,
PROP_SELECTED_LINK,
g_param_spec_boolean ("selected-link",
switch (prop_id)
{
case PROP_SELECTED_LINK:
- g_value_set_boolean (value, atk_hyperlink_is_selected_link (link));
+ // This property is deprecated, also the method to get the value
+ g_value_set_boolean (value, FALSE);
break;
case PROP_NUMBER_ANCHORS:
g_value_set_int (value, atk_hyperlink_get_n_anchors (link));
* content inline. Ordinary HTML links will usually return
* %FALSE, but an inline <src> HTML element will return
* %TRUE.
-a *
+ *
* Returns: whether or not this link displays its content inline.
*
**/
*
* Since: 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.
+ * Deprecated: 1.8: Please use ATK_STATE_FOCUSABLE for all links,
+ * and ATK_STATE_FOCUSED for focused links.
*
- * Returns: True is the AtkHyperlink is selected, False otherwise
+ * Returns: True if the AtkHyperlink is selected, False otherwise
**/
gboolean
atk_hyperlink_is_selected_link (AtkHyperlink *link)