[Commits] printing.c 1.1.2.35 1.1.2.36

colin at claws-mail.org colin at claws-mail.org
Sat Oct 22 20:22:36 CEST 2011


Update of /home/claws-mail/claws/src
In directory claws-mail:/tmp/cvs-serv3778/src

Modified Files:
      Tag: gtk2
	printing.c 
Log Message:
2011-10-22 [colin]	3.7.10cvs42

	* src/printing.c
	* src/gtk/gtkshruler.c
	* src/gtk/gtkutils.h
		Fix GTK+2.16 build

Index: printing.c
===================================================================
RCS file: /home/claws-mail/claws/src/Attic/printing.c,v
retrieving revision 1.1.2.35
retrieving revision 1.1.2.36
diff -u -d -r1.1.2.35 -r1.1.2.36
--- printing.c	22 Oct 2011 17:09:03 -0000	1.1.2.35
+++ printing.c	22 Oct 2011 18:22:33 -0000	1.1.2.36
@@ -276,9 +276,10 @@
 	/* Config for printing */
 	gtk_print_operation_set_print_settings(op, settings);
 	gtk_print_operation_set_default_page_setup(op, page_setup);
+#if GTK_CHECK_VERSION(2,18,0)
         /* enable Page Size and Orientation in the print dialog */
 	gtk_print_operation_set_embed_page_setup(op, TRUE);
-
+#endif
 	/* signals */
 	g_signal_connect(op, "begin_print", G_CALLBACK(renderer->cb_begin_print), print_data);
 	g_signal_connect(op, "draw_page", G_CALLBACK(renderer->cb_draw_page), print_data);



More information about the Commits mailing list