aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-03-09 19:19:03 +0800
committerMilan Crha <mcrha@redhat.com>2012-03-09 19:19:03 +0800
commit5554e8583b4faccae008946646fd94cf6c7cc79f (patch)
tree3241a7e3111781c8b5bb9349be1917f28065ac7f /calendar
parent6695ba892a25615309c2c432a9abc82105c9118d (diff)
downloadgsoc2013-evolution-5554e8583b4faccae008946646fd94cf6c7cc79f.tar
gsoc2013-evolution-5554e8583b4faccae008946646fd94cf6c7cc79f.tar.gz
gsoc2013-evolution-5554e8583b4faccae008946646fd94cf6c7cc79f.tar.bz2
gsoc2013-evolution-5554e8583b4faccae008946646fd94cf6c7cc79f.tar.lz
gsoc2013-evolution-5554e8583b4faccae008946646fd94cf6c7cc79f.tar.xz
gsoc2013-evolution-5554e8583b4faccae008946646fd94cf6c7cc79f.tar.zst
gsoc2013-evolution-5554e8583b4faccae008946646fd94cf6c7cc79f.zip
Bug #664323 - Too late initialization of Gnome/GailCanvas ATK support
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/ea-calendar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/ea-calendar.c b/calendar/gui/ea-calendar.c
index a81fb5e7a5..0215435c08 100644
--- a/calendar/gui/ea-calendar.c
+++ b/calendar/gui/ea-calendar.c
@@ -63,6 +63,12 @@ gnome_calendar_a11y_init (void)
/* we only add focus watcher when accessibility is enabled
*/
if (atk_get_root ()) {
+ GtkWidget *gnome_canvas;
+
+ /* first initialize ATK support in gnome-canvas and also gail-canvas */
+ gnome_canvas = gnome_canvas_new ();
+ gtk_widget_destroy (gnome_canvas);
+
EA_SET_FACTORY (gnome_calendar_get_type (), ea_gnome_calendar);
/* force loading some types */