all: Name more idles and timeouts
Following up from 438cd857c4,
name more timeouts and idles.
The original grep was missing checking for gdk_threads_add_*()
functions (at least for some of the files).
https://bugzilla.gnome.org/show_bug.cgi?id=726870
This commit is contained in:
committed by
Matthias Clasen
parent
454c485ebe
commit
f71f7215ab
@ -631,14 +631,17 @@ preview_ready (GtkPrintOperationPreview *preview,
|
||||
GtkPrintContext *context,
|
||||
PreviewOp *pop)
|
||||
{
|
||||
guint id;
|
||||
|
||||
pop->print_context = context;
|
||||
|
||||
g_object_ref (preview);
|
||||
|
||||
gdk_threads_add_idle_full (G_PRIORITY_DEFAULT_IDLE + 10,
|
||||
preview_print_idle,
|
||||
pop,
|
||||
preview_print_idle_done);
|
||||
id = gdk_threads_add_idle_full (G_PRIORITY_DEFAULT_IDLE + 10,
|
||||
preview_print_idle,
|
||||
pop,
|
||||
preview_print_idle_done);
|
||||
g_source_set_name_by_id (id, "[gtk+] preview_print_idle");
|
||||
}
|
||||
|
||||
|
||||
@ -3053,6 +3056,7 @@ print_pages (GtkPrintOperation *op,
|
||||
print_pages_idle,
|
||||
data,
|
||||
print_pages_idle_done);
|
||||
g_source_set_name_by_id (priv->print_pages_idle_id, "[gtk+] print_pages_idle");
|
||||
|
||||
/* Recursive main loop to make sure we don't exit on sync operations */
|
||||
if (priv->is_sync)
|
||||
|
||||
Reference in New Issue
Block a user