gedit r6109 - branches/printing/gedit



Author: pborelli
Date: Tue Jan 22 20:32:41 2008
New Revision: 6109
URL: http://svn.gnome.org/viewvc/gedit?rev=6109&view=rev

Log:
stop warnings when previewing from the print dialog


Modified:
   branches/printing/gedit/gedit-print-job.c

Modified: branches/printing/gedit/gedit-print-job.c
==============================================================================
--- branches/printing/gedit/gedit-print-job.c	(original)
+++ branches/printing/gedit/gedit-print-job.c	Tue Jan 22 20:32:41 2008
@@ -634,6 +634,8 @@
 	       GtkPrintContext          *context,
 	       GeditPrintJob            *job)
 {
+	job->priv->is_preview = TRUE;
+
 	g_signal_emit (job, print_job_signals[SHOW_PREVIEW], 0, job->priv->preview);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]