summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c5
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 ();
}
}