GNOME Bugzilla – Bug 675984
spurious 'cursor-changed' event emitted during destruction?
Last modified: 2012-05-16 21:50:57 UTC
Created attachment 213965 [details] Modified test case from http://zetcode.com/tutorials/gtktutorial/gtktreeview/ - asserts when closing the main window sound-juicer has a callback attached on the 'cursor-changed' signal of its main treeview. When exiting the application, the GtkTreeView is destroyed, and during the destruction a 'cursor-changed' is emitted. When it's emitted, calling gtk_tree_view_get_selection returns NULL, which is unexpected, and causes a runtime warning since sound-juicer doesn't check for it. I think either this signal should not be emitted, or the selection object should not be NULL at this point. (gdb) bt
+ Trace 230218
This is reproduceable in a recent git master build (from last week)
*** This bug has been marked as a duplicate of bug 671939 ***