Fix a warning

This commit is contained in:
Matthias Clasen 2006-06-16 22:59:39 +00:00
parent b69212f681
commit f09e64b335

View File

@ -470,6 +470,7 @@ gtk_print_job_get_surface (GtkPrintJob *job,
height = gtk_paper_size_get_height (paper_size, GTK_UNIT_POINTS); height = gtk_paper_size_get_height (paper_size, GTK_UNIT_POINTS);
priv->surface = _gtk_printer_create_cairo_surface (priv->printer, priv->surface = _gtk_printer_create_cairo_surface (priv->printer,
priv->settings,
width, height, width, height,
priv->spool_file_fd); priv->spool_file_fd);
@ -507,7 +508,7 @@ gtk_print_job_set_track_print_status (GtkPrintJob *job,
{ {
priv->track_print_status = track_status; priv->track_print_status = track_status;
g_object_notify (job, "track-status"); g_object_notify (G_OBJECT (job), "track-status");
} }
} }