[at-spi2-atk] Make the module resident.
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Make the module resident.
- Date: Tue, 31 Aug 2010 02:09:55 +0000 (UTC)
commit fba14bfd184d14524692ce168a214ce9b1ca869e
Author: MatthiAS Clasen <mclasen redhat com>
Date: Mon Aug 30 19:35:50 2010 -0400
Make the module resident.
FDO#29880; fix crash when reloading modules.
atk-adaptor/bridge.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index f7c3fa8..a8e0335 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -35,6 +35,7 @@
#include <atk/atk.h>
#include <droute/droute.h>
+#include <gmodule.h>
#include "bridge.h"
#include "event.h"
@@ -774,6 +775,14 @@ gtk_module_init (gint * argc, gchar ** argv[])
return 0;
}
+gchar*
+g_module_check_init (GModule *module)
+{
+ g_module_make_resident (module);
+
+ return NULL;
+}
+
void
gnome_accessibility_module_init (void)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]