Re: Change to gmodule



On Tue, 29 May 2001, Padraig O'Briain wrote:

> Tim,
> 
> The version in CVS does not fix my problem.
> 
> I used to specify GTK_MODULES as "libgail:libtestobject". Now, I need to specify 
> it as "libgail.so:libtestobject.so".
> 
> I see two problems with g_module_open().
> 
> 1) The line
> 
> name = g_strconcat (file_name, ".la");
> 
> should be
> 
> name = g_strconcat (file_name, ".la", NULL);

grum, thanks, fixed.

> 2) The code in version 1.33 which checked whether the file_name ended in 
> G_MODULE_SUFFIX or ".la" and if not, appended a suffix before calling 
> _g_module_open() is not in version 1.35.

hm, that you need to specify libgail.so:libtestobject.so is odd, module
loading works here without path and without suffix, a suffix even.
please try out the new CVS version.

> 
> Padraig
> 

---
ciaoTJ





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]