diff options
author | Christian Persch <chpe@gnome.org> | 2008-02-06 23:58:47 +0100 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2009-12-01 17:39:01 +0100 |
commit | efa90e418234f7773370f17e7f7bd47757b71d7b (patch) | |
tree | 6c60c3d0c690862b55a395698b8814a5ed3a2033 /gtk/gtkprintbackend.h | |
parent | e81dacb8e3cf4c16071ecb8a98964d0e06838f40 (diff) | |
download | gtk+-efa90e418234f7773370f17e7f7bd47757b71d7b.tar.gz |
Allow getting the printer's hard margins
Adds a way to get the unprintable area of the printer. Bug #468989.
Diffstat (limited to 'gtk/gtkprintbackend.h')
-rw-r--r-- | gtk/gtkprintbackend.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkprintbackend.h b/gtk/gtkprintbackend.h index c4b43b10d2..e19193ffdd 100644 --- a/gtk/gtkprintbackend.h +++ b/gtk/gtkprintbackend.h @@ -104,11 +104,11 @@ struct _GtkPrintBackendClass GtkPageSetup *page_setup); GList * (*printer_list_papers) (GtkPrinter *printer); GtkPageSetup * (*printer_get_default_page_size) (GtkPrinter *printer); - void (*printer_get_hard_margins) (GtkPrinter *printer, - double *top, - double *bottom, - double *left, - double *right); + gboolean (*printer_get_hard_margins) (GtkPrinter *printer, + gdouble *top, + gdouble *bottom, + gdouble *left, + gdouble *right); GtkPrintCapabilities (*printer_get_capabilities) (GtkPrinter *printer); /* Signals */ |