diff options
author | William Jon McCann <jmccann@redhat.com> | 2012-09-14 14:12:36 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-09-16 19:31:23 -0400 |
commit | 5debed5ae247c1dd440cb71d0a6d328df74b0844 (patch) | |
tree | 8a958b6bbde9bb216aa9633d5567fc1053708b78 /gtk/gtkmain.c | |
parent | 5b8d67a0aa004cb17c381261ed61ae568a7a502e (diff) | |
download | gtk+-5debed5ae247c1dd440cb71d0a6d328df74b0844.tar.gz |
Shut down a11y when an app shuts down
https://bugzilla.gnome.org/show_bug.cgi?id=684076
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r-- | gtk/gtkmain.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 56f2226d2f..1fd7f19288 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -671,6 +671,7 @@ gettext_initialization (void) /* XXX: Remove me after getting rid of gail */ extern void _gtk_accessibility_init (void); +extern void _gtk_accessibility_shutdown (void); static void do_post_parse_initialization (int *argc, @@ -1172,11 +1173,15 @@ gtk_main (void) if (gtk_main_loop_level == 0) { + /* Keep this section in sync with gtk_application_shutdown() */ + /* Try storing all clipboard data we have */ _gtk_clipboard_store_all (); /* Synchronize the recent manager singleton */ _gtk_recent_manager_sync (); + + _gtk_accessibility_shutdown (); } } |