forked from AuroraMiddleware/gtk
Use gdk_threads_add_timeout_seconds where appropriate
svn path=/trunk/; revision=21202
This commit is contained in:
parent
6e5de0a796
commit
9278d262ac
@ -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:
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user