summaryrefslogtreecommitdiff
path: root/gtk/gtkprintcontext.h
diff options
context:
space:
mode:
authorecyrbe <ecyrbe@gmail.com>2009-12-05 13:23:44 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2009-12-05 13:23:44 +0100
commitbe686e2badb5cdfdaed7df2cac9ff3b3fb793056 (patch)
tree17f253943781f07cfd0531770330178dc084eca0 /gtk/gtkprintcontext.h
parentdb30c79dac4d72c267d7cc74da2c38018aa50f9f (diff)
downloadgtk+-be686e2badb5cdfdaed7df2cac9ff3b3fb793056.tar.gz
Bring GtkPrintContext hard margin aware
See bug #468989.
Diffstat (limited to 'gtk/gtkprintcontext.h')
-rw-r--r--gtk/gtkprintcontext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkprintcontext.h b/gtk/gtkprintcontext.h
index 9bd13343cc..30572d6835 100644
--- a/gtk/gtkprintcontext.h
+++ b/gtk/gtkprintcontext.h
@@ -49,6 +49,11 @@ gdouble gtk_print_context_get_width (GtkPrintContext *context);
gdouble gtk_print_context_get_height (GtkPrintContext *context);
gdouble gtk_print_context_get_dpi_x (GtkPrintContext *context);
gdouble gtk_print_context_get_dpi_y (GtkPrintContext *context);
+gboolean gtk_print_context_get_hard_margins (GtkPrintContext *context,
+ gdouble *top,
+ gdouble *bottom,
+ gdouble *left,
+ gdouble *right);
/* Fonts */
PangoFontMap *gtk_print_context_get_pango_fontmap (GtkPrintContext *context);