summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2012-09-14 14:12:36 -0400
committerMatthias Clasen <mclasen@redhat.com>2012-09-16 19:31:23 -0400
commit5debed5ae247c1dd440cb71d0a6d328df74b0844 (patch)
tree8a958b6bbde9bb216aa9633d5567fc1053708b78 /gtk/gtkapplication.c
parent5b8d67a0aa004cb17c381261ed61ae568a7a502e (diff)
downloadgtk+-5debed5ae247c1dd440cb71d0a6d328df74b0844.tar.gz
Shut down a11y when an app shuts down
https://bugzilla.gnome.org/show_bug.cgi?id=684076
Diffstat (limited to 'gtk/gtkapplication.c')
-rw-r--r--gtk/gtkapplication.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index e82cda015e..907b3fe7e1 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -47,6 +47,8 @@
#include <gdk/x11/gdkx.h>
#endif
+extern void _gtk_accessibility_shutdown (void);
+
/**
* SECTION:gtkapplication
* @title: GtkApplication
@@ -425,12 +427,16 @@ gtk_application_shutdown (GApplication *application)
gtk_application_shutdown_quartz (GTK_APPLICATION (application));
#endif
+ /* Keep this section in sync with gtk_main() */
+
/* Try storing all clipboard data we have */
_gtk_clipboard_store_all ();
/* Synchronize the recent manager singleton */
_gtk_recent_manager_sync ();
+ _gtk_accessibility_shutdown ();
+
G_APPLICATION_CLASS (gtk_application_parent_class)
->shutdown (application);
}