GNOME Bugzilla – Bug 694874
Printers panel crashes after change of option
Last modified: 2013-03-04 11:07:33 UTC
Printers panel crashes after setting a new value for an option in Options dialog and closing of this dialog. This is caused by calling of callback of printer_add_option_async() with PpPPDOptionWidget widget as user_data which is already finalized. The same applies for PpIPPOptionWidget. It crashes on 3.7.x. The same code is in 3.6.x but I can not get it to crash. Proper creation and checking of a GCancellable object fixes this.
Created attachment 237612 [details] [review] don't crash after changing an option This patch adds GCancellable and its handling to prevent the Options dialog from crash.
Review of attachment 237612 [details] [review]: Looks good to me
Comment on attachment 237612 [details] [review] don't crash after changing an option Thank you for the review. I've pushed it to 3.8 and master.