aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-printable.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-printable.h')
-rw-r--r--widgets/misc/e-printable.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/widgets/misc/e-printable.h b/widgets/misc/e-printable.h
index 0c665f89c2..2d3140c99f 100644
--- a/widgets/misc/e-printable.h
+++ b/widgets/misc/e-printable.h
@@ -26,6 +26,7 @@
#include <gtk/gtkobject.h>
#include <libgnomeprint/gnome-print.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
@@ -46,10 +47,10 @@ typedef struct {
* Signals
*/
- void (*print_page) (EPrintable *etm, GnomePrintContext *context, gdouble width, gdouble height, gboolean quantized);
+ void (*print_page) (EPrintable *etm, GtkPrintContext *context, gdouble width, gdouble height, gboolean quantized);
gboolean (*data_left) (EPrintable *etm);
void (*reset) (EPrintable *etm);
- gdouble (*height) (EPrintable *etm, GnomePrintContext *context, gdouble width, gdouble max_height, gboolean quantized);
+ gdouble (*height) (EPrintable *etm, GtkPrintContext *context, gdouble width, gdouble max_height, gboolean quantized);
/* e_printable_will_fit (ep, ...) should be equal in value to
* (e_printable_print_page (ep, ...),
@@ -58,7 +59,7 @@ typedef struct {
* position of the printable.
*/
- gboolean (*will_fit) (EPrintable *etm, GnomePrintContext *context, gdouble width, gdouble max_height, gboolean quantized);
+ gboolean (*will_fit) (EPrintable *etm, GtkPrintContext *context, gdouble width, gdouble max_height, gboolean quantized);
} EPrintableClass;
GtkType e_printable_get_type (void);
@@ -68,19 +69,19 @@ EPrintable *e_printable_new (void);
/*
* Routines for emitting signals on the e_table */
void e_printable_print_page (EPrintable *e_printable,
- GnomePrintContext *context,
+ GtkPrintContext *context,
gdouble width,
gdouble height,
gboolean quantized);
gboolean e_printable_data_left (EPrintable *e_printable);
void e_printable_reset (EPrintable *e_printable);
gdouble e_printable_height (EPrintable *e_printable,
- GnomePrintContext *context,
+ GtkPrintContext *context,
gdouble width,
gdouble max_height,
gboolean quantized);
gboolean e_printable_will_fit (EPrintable *e_printable,
- GnomePrintContext *context,
+ GtkPrintContext *context,
gdouble width,
gdouble max_height,
gboolean quantized);