Thanks for the example, I think I might be able to solve this. But before hat I am having problem finding the signal_id.
signal_id = g_signal_lookup( "delete_event", (PidginConversation->win)->window );
purple_debug_fatal("Testing_Plugin, "signal id = %u\n", signal_id);
Pidgin has declared following structure, PidginConversation is a points to win, win points to window id (I think I have understood it correctly), maybe could you take a look at this image? (refer the link in following post, the forum doesnt allow to post links until user has 2 posts)
Pidgin provides API for debugging, thats the second like. You might have guessed, but I wanted to make the situation crystal clear.
The debugger shows
GLib-GObject: g_signal_lookup: assertion `G_TYPE_IS_INSTANTIATABLE (itype) || G_TYPE_IS_INTERFACE (itype)' failed
Testing_Plugin: signal id = 0