gtk2/modules/printbackends
Carlos Garcia Campos 5701681df4 gtkprintbackendcups: Fix a crash in avahi_create_browsers()
In avahi_request_printer_list() a new connection to the DBus system bus
is started asynchronously, but it's not cancellable and it's not taking
any reference of the GtkPrintBackendCups. This means that when the
callback is called, the object might have been destroyed already. We can
just pass the cancellable created and check for the cancelled error in
the callback before trying to use the GtkPrintBackendCups. The code to
cancel avahi operations and to unsibscribe from the DBus signals has
been moved from finalize to dispose to make sure it happens as soon as
possible.

https://bugzilla.gnome.org/show_bug.cgi?id=696553
2013-03-25 14:58:03 +01:00
..
cups gtkprintbackendcups: Fix a crash in avahi_create_browsers() 2013-03-25 14:58:03 +01:00
file Don't rotate pdf landscape output 2012-09-12 15:38:37 +02:00
lpr Change FSF Address 2012-02-27 17:06:11 +00:00
papi Change FSF Address 2012-02-27 17:06:11 +00:00
test Change FSF Address 2012-02-27 17:06:11 +00:00
Makefile.am Add papi to DIST_SUBDIRS 2009-05-19 16:31:52 +08:00