(GtkAttachOptions) (0), 0, 0);
print_imgs = gtk_check_button_new_with_label(_("Print images"));
-#if GTK_CHECK_VERSION(2,10,0)
+#if !defined(USE_GNOMEPRINT) && GTK_CHECK_VERSION(2,10,0)
gtk_widget_show(print_imgs);
#endif
gtk_table_attach(GTK_TABLE(table), print_imgs, 0, 1, 3, 4,