Use gdk_threads_add_timeout_seconds where appropriate

svn path=/trunk/; revision=21202
This commit is contained in:
Matthias Clasen 2008-08-26 02:39:12 +00:00
parent 6e5de0a796
commit 9278d262ac
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-08-25 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c: Replace
a long timeout with a second-granularity timeout.
2008-08-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c:

View File

@ -1516,7 +1516,7 @@ cups_get_printer_list (GtkPrintBackend *backend)
if (cups_backend->list_printers_poll == 0)
{
cups_request_printer_list (cups_backend);
cups_backend->list_printers_poll = gdk_threads_add_timeout (3000,
cups_backend->list_printers_poll = gdk_threads_add_timeout_seconds (3,
(GSourceFunc) cups_request_printer_list,
backend);
}