Frank Cox wrote: > What have I missed? Not all callbacks perform the same function. That is why you must consult the documentation for the signal you want to catch.
The g_signal_connect() function does indeed only pass one pointer for the fourth argument "data". All signals have a "data" argument to receive the one pointer. In the case of the "insert-data" signal it has a specific callback that provides additional data. Other callbacks will have different function arguments that will provide different data. In the end, the "data" pointer is the only pointer you can pass from outside any callback. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list