diff options
author | Harry Lu <harry.lu@sun.com> | 2004-12-09 11:00:54 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2004-12-09 11:00:54 +0800 |
commit | f7e0e9ea971613aa8505567b153a090fd4fe5cad (patch) | |
tree | c1fa8d9b806b1dfdc48e2bcbc49373645401f2fa | |
parent | fce720a3dfb833bea56226573d2187ea539e3182 (diff) | |
download | gsoc2013-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
-rw-r--r-- | a11y/ChangeLog | 7 | ||||
-rw-r--r-- | a11y/addressbook/ea-addressbook.c | 3 |
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); |