aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */