evince/evince-0.6.0-print-error.patch
2006-09-22 05:40:06 +00:00

21 lines
487 B
Diff

--- evince-0.6.0/shell/ev-window.c.print-error 2006-09-22 01:32:59.000000000 -0400
+++ evince-0.6.0/shell/ev-window.c 2006-09-22 01:33:35.000000000 -0400
@@ -1373,6 +1373,8 @@
if (error) {
GtkWidget *dialog;
+ GDK_THREADS_ENTER ();
+
dialog = gtk_message_dialog_new (GTK_WINDOW (window),
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
@@ -1383,6 +1385,8 @@
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
+
+ GDK_THREADS_LEAVE ();
}
}