Leopold Toetsch wrote:

Leopold Toetsch wrote:

Stephane Peiry wrote:

g_return_val_if_fail (G_IS_OBJECT (gobject), 0); <<<< Fails here


gtk shouldn't make assumption on the user_data argument IMHO.


The whole idea behind callbacks is, that there is a userdata argument that get's passed through transparently. GTK is taking a gobject only. So there is currently no way to use the existing callback scheme.

Can't you wrap what you want to pass in a GObject?



Reply via email to