]> Pileus Git - ~andy/gtk/commitdiff
cups: Someone can neither type, read compiler output and run tests.
authorBenjamin Otte <otte@redhat.com>
Mon, 3 Jan 2011 15:16:02 +0000 (16:16 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 3 Jan 2011 15:25:18 +0000 (16:25 +0100)
Being able to do one of these would have caught this.

modules/printbackends/cups/gtkprintbackendcups.c

index 5a9af42ed33a63cc7da9a76312ff31b14189fdee..5bb14eb9f4116f17b42bc59c2ddc4ca436eed799 100644 (file)
@@ -343,7 +343,7 @@ cups_printer_create_cairo_surface (GtkPrinter       *printer,
   gint             level = 2;
 
   if (gtk_printer_accepts_pdf (printer))
-    surface = cairo_pdf_surface_create_for_strean (_cairo_write_to_cups, cache_io, width, height);
+    surface = cairo_pdf_surface_create_for_stream (_cairo_write_to_cups, cache_io, width, height);
   else
     surface = cairo_ps_surface_create_for_stream  (_cairo_write_to_cups, cache_io, width, height);