I see 2 solutions: 1) Recode the plugin using low level dbus. As I understand everyone does that to avoid glib problems. 2) Link the plugin statically so it can't be unloaded. I'll try to see what I can do after my exams... -- Can not unload XChat-GNOME remote access plugin https://launchpad.net/bugs/45236