On Do, 2016-04-21 at 20:52 -0400, Matthew A. Postiff wrote: > g_signal_connect((gpointer)(syslogdialog->getDialog()), > "close", G_CALLBACK (on_close_system_log_activate), > gpointer(this)); > g_signal_connect((gpointer)(syslogdialog->getDialog()), > "delete-event", G_CALLBACK (on_close_system_log_activate), > gpointer(this)); > syslogdialog->run();
The delete-event signal handler needs to return a gboolean. The C API doesn't do any checking of the signature of the signal handler's function pointer. However, gtkmm does offer this compile-time type safety. -- Murray Cumming murr...@murrayc.com www.murrayc.com _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list