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

2010-04-23 Thread dfg dfg
le family. 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 wrot

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

2010-04-23 Thread Tristan Van Berkom
t; loaded by myapp. > > I am quite new at this, so can you please 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 &

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 ___ gtk-app-dev

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-li

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 http://mail.gnome.org/mailma

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 l

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

2010-04-22 Thread Tristan Van Berkom
le > src/modules/libmyplugin/Makefile) > AC_OUTPUT > > For some reason though, callbacks in "myapp" the main app that loads in the > .so files work fine. Any ideas appreciated. :) > > > >> Date: Thu, 22 Apr 2010 21:37:48 -0400 >> Subject: Re: Callbacks whe

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

2010-04-22 Thread dfg dfg
t;myapp" the main app that loads in the .so 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@

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 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 contains c

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