aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--a11y/ChangeLog7
-rw-r--r--a11y/addressbook/ea-addressbook.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/a11y/ChangeLog b/a11y/ChangeLog
index a7afb85da7..da27fc5275 100644
--- a/a11y/ChangeLog
+++ b/a11y/ChangeLog
@@ -1,3 +1,10 @@
+2004-12-09 Harry Lu <harry.lu@sun.com>
+
+ Fix a warning.
+
+ * addressbook/ea-addressbook.c: (ea_addressbook_focus_watcher):
+ use object instead of ATK_OBJECT (minicard).
+
2004-12-1 Hao Sheng <hao.sheng@sun.com>
* a11y/addressbook/ea-minicard.c:
diff --git a/a11y/addressbook/ea-addressbook.c b/a11y/addressbook/ea-addressbook.c
index 9580b40adf..1abe1f2a4d 100644
--- a/a11y/addressbook/ea-addressbook.c
+++ b/a11y/addressbook/ea-addressbook.c
@@ -75,9 +75,8 @@ ea_addressbook_focus_watcher (GSignalInvocationHint *ihint,
event = g_value_get_boxed (param_values + 1);
if (E_IS_MINICARD (object)) {
- EMinicard *minicard = E_MINICARD (object);
GnomeCanvasItem *item = GNOME_CANVAS_ITEM (object);
- ea_event = atk_gobject_accessible_for_object (ATK_OBJECT (minicard));
+ ea_event = atk_gobject_accessible_for_object (object);
if (event->type == GDK_FOCUS_CHANGE) {
if ((event->focus_change.in) && (E_IS_MINICARD (item->canvas->focused_item)))
atk_focus_tracker_notify (ea_event);