forked from AuroraMiddleware/gtk
Always call the destroy notify
This commit is contained in:
parent
a3bfbe23ab
commit
f149073fa5
@ -1,5 +1,8 @@
|
||||
2006-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprinter.c (gtk_enumerate_printers): Always call the
|
||||
destroy notify. (#346027, Christian Persch)
|
||||
|
||||
* gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
|
||||
Documentation updates.
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2006-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkprinter.c (gtk_enumerate_printers): Always call the
|
||||
destroy notify. (#346027, Christian Persch)
|
||||
|
||||
* gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
|
||||
Documentation updates.
|
||||
|
||||
|
@ -985,6 +985,12 @@ gtk_enumerate_printers (GtkPrinterFunc func,
|
||||
|
||||
if (g_module_supported ())
|
||||
printer_list->backends = gtk_print_backend_load_modules ();
|
||||
|
||||
if (printer_list->backends == NULL)
|
||||
{
|
||||
free_printer_list (printer_list);
|
||||
return;
|
||||
}
|
||||
|
||||
for (node = printer_list->backends; node != NULL; node = next)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user