From b6685dda465b41e6e3230545fe18fae43c614405 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 7 Oct 2008 17:49:07 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20554950=20=E2=80=93=20gail=20must=20make?= =?UTF-8?q?=20itself=20resident?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2008-10-07 Matthias Clasen Bug 554950 – gail must make itself resident * gail.c: Make the module resident, since it can't handle being unloaded. svn path=/branches/gtk-2-14/; revision=21602 --- modules/other/gail/ChangeLog | 9 +++++++++ modules/other/gail/gail.c | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/modules/other/gail/ChangeLog b/modules/other/gail/ChangeLog index 21381152ec..6655db4ac7 100644 --- a/modules/other/gail/ChangeLog +++ b/modules/other/gail/ChangeLog @@ -1,3 +1,12 @@ +2008-10-07 Matthias Clasen + + Merged from trunk: + + Bug 554950 – gail must make itself resident + + * gail.c: Make the module resident, since it can't handle + being unloaded. + 2008-09-20 Matthias Clasen Merged from trunk: diff --git a/modules/other/gail/gail.c b/modules/other/gail/gail.c index 4b26b2eeff..ac27f0ba35 100644 --- a/modules/other/gail/gail.c +++ b/modules/other/gail/gail.c @@ -980,3 +980,12 @@ gtk_module_init (gint *argc, char** argv[]) return 0; } + +const char * +g_module_check_init (GModule *module) +{ + g_module_make_resident (module); + + return NULL; +} +