Replace a lot of idle and timeout calls by the new gdk_threads api.
2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
This commit is contained in:

committed by
Matthias Clasen

parent
7854bd1b6e
commit
721c3bc101
@ -310,6 +310,7 @@ unix_end_run (GtkPrintOperation *op,
|
||||
|
||||
if (wait)
|
||||
{
|
||||
g_object_ref (op);
|
||||
if (!op_unix->data_sent)
|
||||
{
|
||||
GDK_THREADS_LEAVE ();
|
||||
@ -317,6 +318,8 @@ unix_end_run (GtkPrintOperation *op,
|
||||
GDK_THREADS_ENTER ();
|
||||
}
|
||||
g_main_loop_unref (op_unix->loop);
|
||||
op_unix->loop = NULL;
|
||||
g_object_unref (op);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user