Skip to content

Commit

Permalink
fix!: Drop next/previous focus properties (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcampbell authored Aug 29, 2023
1 parent 09c1204 commit d35c7c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
4 changes: 1 addition & 3 deletions bindings/c/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,7 @@ node_id_property_methods! {
(popup_for, set_popup_for, clear_popup_for),
(table_header, set_table_header, clear_table_header),
(table_row_header, set_table_row_header, clear_table_row_header),
(table_column_header, set_table_column_header, clear_table_column_header),
(next_focus, set_next_focus, clear_next_focus),
(previous_focus, set_previous_focus, clear_previous_focus)
(table_column_header, set_table_column_header, clear_table_column_header)
}

/// Only call this function with a string that originated from AccessKit.
Expand Down
14 changes: 3 additions & 11 deletions common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -864,8 +864,6 @@ enum PropertyId {
TableHeader,
TableRowHeader,
TableColumnHeader,
NextFocus,
PreviousFocus,

// String
Name,
Expand Down Expand Up @@ -1591,9 +1589,7 @@ node_id_property_methods! {
(PopupFor, popup_for, set_popup_for, clear_popup_for),
(TableHeader, table_header, set_table_header, clear_table_header),
(TableRowHeader, table_row_header, set_table_row_header, clear_table_row_header),
(TableColumnHeader, table_column_header, set_table_column_header, clear_table_column_header),
(NextFocus, next_focus, set_next_focus, clear_next_focus),
(PreviousFocus, previous_focus, set_previous_focus, clear_previous_focus)
(TableColumnHeader, table_column_header, set_table_column_header, clear_table_column_header)
}

string_property_methods! {
Expand Down Expand Up @@ -2016,9 +2012,7 @@ impl<'de> Visitor<'de> for NodeVisitor {
PopupFor,
TableHeader,
TableRowHeader,
TableColumnHeader,
NextFocus,
PreviousFocus
TableColumnHeader
},
String {
Name,
Expand Down Expand Up @@ -2221,9 +2215,7 @@ impl JsonSchema for Node {
PopupFor,
TableHeader,
TableRowHeader,
TableColumnHeader,
NextFocus,
PreviousFocus
TableColumnHeader
},
Box<str> {
Name,
Expand Down

0 comments on commit d35c7c1

Please sign in to comment.