[egg-list-box] list-box: Simplify some private a11y api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [egg-list-box] list-box: Simplify some private a11y api
- Date: Fri, 22 Feb 2013 06:29:16 +0000 (UTC)
commit d50a8322c09c7a0b0729f3cce5e19c302d8b9e40
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 21 15:55:12 2013 +0100
list-box: Simplify some private a11y api
egg-list-box-accessible.c | 3 +--
egg-list-box.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/egg-list-box-accessible.c b/egg-list-box-accessible.c
index 84485e9..e1477df 100644
--- a/egg-list-box-accessible.c
+++ b/egg-list-box-accessible.c
@@ -171,8 +171,7 @@ static void atk_selection_interface_init (AtkSelectionIface *iface)
}
void
-_egg_list_box_accessible_update_selected (EggListBox *box,
- GtkWidget *child)
+_egg_list_box_accessible_selection_changed (EggListBox *box)
{
AtkObject *accessible;
accessible = gtk_widget_get_accessible (GTK_WIDGET (box));
diff --git a/egg-list-box.c b/egg-list-box.c
index 2e9f56e..efe5fbb 100644
--- a/egg-list-box.c
+++ b/egg-list-box.c
@@ -824,7 +824,7 @@ egg_list_box_update_selected (EggListBox *list_box,
(priv->selected_child != NULL) ? priv->selected_child->widget : NULL);
gtk_widget_queue_draw (GTK_WIDGET (list_box));
}
- _egg_list_box_accessible_update_selected (list_box, child ? child->widget : NULL);
+ _egg_list_box_accessible_selection_changed (list_box);
if (child != NULL)
egg_list_box_update_cursor (list_box, child);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]