RE: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread dfg dfg
I forgot to mention that I am using GTK Builder. From some googling, i found that g_module_lookup() is in libglade. Am I correct? Is there an equivalent function for GTK Builder? Date: Thu, 22 Apr 2010 22:08:44 -0400 Subject: Re: Callbacks when glade file is loaded using a dynamic library

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread Tor Lillqvist
I forgot to mention that I am using GTK Builder. From some googling, i found that g_module_lookup() is in libglade. Am I correct? No. Google harder. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

RE: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread dfg dfg
()? I think the use of dlopen over g_module_open might be the problem. I will try that tomorrow and see what happens. Cheers From: t...@iki.fi Date: Fri, 23 Apr 2010 15:26:20 +0300 Subject: Re: Callbacks when glade file is loaded using a dynamic library To: gtk-app-devel-list@gnome.org I

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread Tor Lillqvist
libraries. Am I correct to assume that g_module_symbol is the replacement for g_module_lookup()? I think g_module_lookup() has never existed except in some comment where somebody mistyped it when they meant g_module_symbol()... --tml ___

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread Tristan Van Berkom
explain what you mean by export the symbols of my app? Cheers :) Date: Thu, 22 Apr 2010 22:08:44 -0400 Subject: Re: Callbacks when glade file is loaded using a dynamic library From: t...@gnome.org To: abx...@msn.com CC: gtk-app-devel-list@gnome.org If you have symbols that need

RE: Callbacks when glade file is loaded using a dynamic library

2010-04-23 Thread dfg dfg
. Cheers for your help :) Date: Fri, 23 Apr 2010 11:04:38 -0400 Subject: Re: Callbacks when glade file is loaded using a dynamic library From: t...@gnome.org To: abx...@msn.com; gtk-app-devel-list@gnome.org On Fri, Apr 23, 2010 at 4:40 AM, dfg dfg abx...@msn.com wrote: Hi Tristan, I

Callbacks when glade file is loaded using a dynamic library

2010-04-22 Thread dfg dfg
Hi everyone, Currently, I have built my main application using glade. This file is then loaded by a C application. I then created another interface using Glade. When my main application loads, it loads a .so library which contains code for this subsection (kind of like a plugin). The .so

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-22 Thread Tristan Van Berkom
On Thu, Apr 22, 2010 at 7:21 PM, dfg dfg abx...@msn.com wrote: Hi everyone, Currently, I have built my main application using glade. This file is then loaded by a C application. I then created another interface using Glade. When my main application loads, it loads a .so library which

RE: Callbacks when glade file is loaded using a dynamic library

2010-04-22 Thread dfg dfg
files work fine. Any ideas appreciated. :) Date: Thu, 22 Apr 2010 21:37:48 -0400 Subject: Re: Callbacks when glade file is loaded using a dynamic library From: t...@gnome.org To: abx...@msn.com CC: gtk-app-devel-list@gnome.org On Thu, Apr 22, 2010 at 7:21 PM, dfg dfg abx...@msn.com

Re: Callbacks when glade file is loaded using a dynamic library

2010-04-22 Thread Tristan Van Berkom
appreciated. :) Date: Thu, 22 Apr 2010 21:37:48 -0400 Subject: Re: Callbacks when glade file is loaded using a dynamic library From: t...@gnome.org To: abx...@msn.com CC: gtk-app-devel-list@gnome.org On Thu, Apr 22, 2010 at 7:21 PM, dfg dfg abx...@msn.com wrote: Hi everyone, Currently, I