[atkmm] Hyperlink, Object: Remove deprecated properties
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atkmm] Hyperlink, Object: Remove deprecated properties
- Date: Tue, 23 Jul 2019 07:40:48 +0000 (UTC)
commit 71a7e7c398c44277efd950f6d21177a7257c1e9e
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Tue Jul 23 09:37:17 2019 +0200
Hyperlink, Object: Remove deprecated properties
* atk/src/hyperlink.hg: Remove property_selected_link().
* atk/src/object.hg: Remove 6 deprecated properties.
atk/src/hyperlink.hg | 6 +++---
atk/src/object.hg | 16 ++++++++--------
atk/src/text.hg | 2 +-
3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/atk/src/hyperlink.hg b/atk/src/hyperlink.hg
index d1948e9..3e5d750 100644
--- a/atk/src/hyperlink.hg
+++ b/atk/src/hyperlink.hg
@@ -46,10 +46,10 @@ public:
_WRAP_METHOD(bool is_inline() const, atk_hyperlink_is_inline)
_WRAP_METHOD(int get_n_anchors() const, atk_hyperlink_get_n_anchors)
- _IGNORE(atk_hyperlink_is_selected_link) // deprecated
+ _IGNORE(atk_hyperlink_is_selected_link) dnl// deprecated
_WRAP_SIGNAL(void link_activated(), "link_activated")
- _WRAP_PROPERTY("selected-link", bool)
+ _IGNORE_PROPERTY("selected-link") dnl// deprecated
_WRAP_PROPERTY("number-of-anchors", int)
_WRAP_PROPERTY("end-index", int)
_WRAP_PROPERTY("start-index", int)
@@ -62,7 +62,7 @@ protected:
_WRAP_VFUNC(bool is_valid() const, is_valid)
_WRAP_VFUNC(int get_n_anchors() const, get_n_anchors)
_WRAP_VFUNC(guint link_state() const, link_state)
- _WRAP_VFUNC(bool is_selected_link() const, is_selected_link)
+ //_WRAP_VFUNC(bool is_selected_link() const, is_selected_link) // deprecated
};
} // namespace Atk
diff --git a/atk/src/object.hg b/atk/src/object.hg
index ee14b5e..e9d94cc 100644
--- a/atk/src/object.hg
+++ b/atk/src/object.hg
@@ -71,9 +71,8 @@ public:
_WRAP_METHOD(void set_description(const Glib::ustring& description), atk_object_set_description)
_WRAP_METHOD(void set_parent(const Glib::RefPtr<Atk::Object>& parent), atk_object_set_parent)
_WRAP_METHOD(void set_role(Role role), atk_object_set_role)
- //_WRAP_METHOD(guint connect_property_change_handler(AtkPropertyChangeHandler* handler),
atk_object_connect_property_change_handler)
- //_WRAP_METHOD(void remove_property_change_handler(guint handler_id),
atk_object_remove_property_change_handler)
_WRAP_METHOD(void notify_state_change(State state, bool value), atk_object_notify_state_change)
+ _IGNORE(atk_object_connect_property_change_handler, atk_object_remove_property_change_handler)dnl//
deprecated
_WRAP_METHOD(bool add_relationship(Relation::Type relationship, const Glib::RefPtr<Object>& target),
atk_object_add_relationship)
_WRAP_METHOD(bool remove_relationship(Relation::Type relationship, const Glib::RefPtr<Object>& target),
atk_object_remove_relationship)
@@ -83,6 +82,10 @@ public:
_WRAP_METHOD(void set_accessible_id(const Glib::ustring& name), atk_object_set_accessible_id)
_WRAP_SIGNAL(void children_changed(guint change_index, gpointer changed_child), "children_changed",
detail_name add_or_remove)
+
+ // AtkObject::focus-event is deprecated in favor of state-change,
+ // but deprecation of a signal probably means "don't emit" rather than
+ // "don't listen", so let's keep it here.
_WRAP_SIGNAL(void focus_event(bool focus_in), "focus_event")
_WRAP_SIGNAL(void property_change(AtkPropertyValues* values), "property_change", detail_name property_name)
@@ -97,18 +100,15 @@ public:
_WRAP_PROPERTY("accessible-name", Glib::ustring)
_WRAP_PROPERTY("accessible-description", Glib::ustring)
_WRAP_PROPERTY("accessible-parent", Glib::RefPtr<Atk::Object>)
- _WRAP_PROPERTY("accessible-value", double)
_WRAP_PROPERTY("accessible-role", Role)
_WRAP_PROPERTY("accessible-component-layer", int)
_WRAP_PROPERTY("accessible-component-mdi-zorder", int)
- _WRAP_PROPERTY("accessible-table-caption", Glib::ustring)
- _WRAP_PROPERTY("accessible-table-column-description", Glib::ustring)
- _WRAP_PROPERTY("accessible-table-column-header", Glib::RefPtr<Atk::Object>)
- _WRAP_PROPERTY("accessible-table-row-description", Glib::ustring)
- _WRAP_PROPERTY("accessible-table-row-header", Glib::RefPtr<Atk::Object>)
_WRAP_PROPERTY("accessible-table-summary", Glib::RefPtr<Atk::Object>)
_WRAP_PROPERTY("accessible-table-caption-object", Glib::RefPtr<Atk::Object>)
_WRAP_PROPERTY("accessible-hypertext-nlinks", int)
+ _IGNORE_PROPERTY("accessible-value", "accessible-table-caption",
+ "accessible-table-column-header", "accessible-table-column-description",
+ "accessible-table-row-header", "accessible-table-row-description") dnl// deprecated
};
} // namespace Atk
diff --git a/atk/src/text.hg b/atk/src/text.hg
index ddf7a5a..b49c7c9 100644
--- a/atk/src/text.hg
+++ b/atk/src/text.hg
@@ -162,7 +162,7 @@ public:
_WRAP_METHOD(AtkTextRange** get_bounded_ranges(const Rectangle& rect, CoordType coord_type,
ClipType x_clip_type, ClipType y_clip_type),
atk_text_get_bounded_ranges)
- // AtkObject::text-changed is deprecated in favor of text-insert and text-remove,
+ // AtkText::text-changed is deprecated in favor of text-insert and text-remove,
// but code in gtk+/gtk/a11y still emits text-changed, 2019-07-23.
// Deprecation of a signal probably means "don't emit" rather than "don't listen",
// so let's keep it here.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]