g_module...: module calls function of core applicatioin



Hi...
I have a plugin which is registered and loaded with the g_module functions.
So far so good everything works find.
But how can i let the modul access a function of the coreapplication?

Example:
in CoreApplication.h:

G_MODULE_EXPORT void 
setCoreMenuAppbarText (const gchar* text)
{}

in plugin.c:

#include "CoreApplication.h"
void
xyz ()
{
     setCoreMenuAppbarText("test");
}

as i execute the programm... i always get a undefined symbol error.

Thanks in advance...
Tobi

-- 
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat*  http://www.gmx.net/de/go/dsl



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