Calling a module with a gpointer to data.
- From: Jim Parker <hopeye cfl rr com>
- To: "GTK+ mailing list" <gtk-app-devel-list gnome org>
- Subject: Calling a module with a gpointer to data.
- Date: Mon, 29 Jul 2002 19:44:53 -0400
G'Day !
My application uses plug-ins to extend the functionality. When I load a
plug-in I build a menu structure in the normal way. But when I attach a
callback to the menu. The data pointer seems to be corrupt.
Currently I am just passing a text string. But when I call the function it
does not print properly (garbage characters). It works great for the menu
items that were created in the main program.
Do I need to do something differently ?
cheers,
Jim Parker
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]