aboutsummaryrefslogtreecommitdiffstats
path: root/a11y
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2004-12-09 11:00:54 +0800
committerHarry Lu <haip@src.gnome.org>2004-12-09 11:00:54 +0800
commitf7e0e9ea971613aa8505567b153a090fd4fe5cad (patch)
treec1fa8d9b806b1dfdc48e2bcbc49373645401f2fa /a11y
parentfce720a3dfb833bea56226573d2187ea539e3182 (diff)
downloadgsoc2013-evolution-f7e0e9ea971613aa8505567b153a090fd4fe5cad.tar.gz
gsoc2013-evolution-f7e0e9ea971613aa8505567b153a090fd4fe5cad.tar.zst
gsoc2013-evolution-f7e0e9ea971613aa8505567b153a090fd4fe5cad.zip
Fix a warning.
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). svn path=/trunk/; revision=28093
Diffstat (limited to 'a11y')
-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);