Add avatar to the prints.
[claws.git] / src / printing.h
index 2b115248be5174c383facbbd9cab652796da744c..79a29f8527b283ea2fbdd2ac3485320cb05cac45 100644 (file)
@@ -1,5 +1,5 @@
 /* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 2007 Holger Berndt <hb@claws-mail.org> 
+ * Copyright (C) 2007-2012 Holger Berndt <hb@claws-mail.org> 
  * and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
 #include <gtk/gtk.h>
 
 #ifdef HAVE_CONFIG_H
-#  include "config.h"
+#include "claws-features.h"
 #endif
 
-#if GTK_CHECK_VERSION(2,10,0)
-
 typedef struct _PrintData              PrintData;
 
 typedef struct _PrintRenderer {
@@ -39,9 +37,9 @@ typedef struct _PrintRenderer {
                             gpointer user_data);
 } PrintRenderer;
 
-void printing_print(GtkTextView*, GtkWindow*, gint, gint);
+void printing_print(GtkTextView*, GtkWindow*, gint, gint, GtkImage *avatar);
 void printing_print_full(GtkWindow *parent, PrintRenderer *renderer, gpointer renderer_data, 
-                        gint sel_start, gint sel_end);
+                        gint sel_start, gint sel_end, GtkImage *avatar);
 void printing_page_setup(GtkWindow*);
 gpointer printing_get_renderer_data(PrintData *print_data);
 gdouble  printing_get_zoom(PrintData *print_data);
@@ -50,6 +48,4 @@ GtkPrintSettings *printing_get_settings(void);
 GtkPageSetup *printing_get_page_setup(void);
 void printing_store_settings(GtkPrintSettings *new_settings);
 
-#endif /* GTK+ >= 2.10.0 */
-
 #endif /* __PRINTING_H__ */