summaryrefslogtreecommitdiff
path: root/gtk/gtkprintbackend.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2009-11-21 20:08:17 +1030
committerChristian Persch <chpe@gnome.org>2009-12-01 17:39:54 +0100
commita77f209f23e78da6e63495b0ef873e28a371e084 (patch)
tree970f235c1526916b14977fedaf3754ac5e578ab5 /gtk/gtkprintbackend.c
parent826d800b7420d1030337f46a6a742537a85f13f1 (diff)
downloadgtk+-a77f209f23e78da6e63495b0ef873e28a371e084.tar.gz
Default to hard margins not available
unless the print backend explicitly provides them.
Diffstat (limited to 'gtk/gtkprintbackend.c')
-rw-r--r--gtk/gtkprintbackend.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c
index 4b8b0dedf3..648a47248c 100644
--- a/gtk/gtkprintbackend.c
+++ b/gtk/gtkprintbackend.c
@@ -501,12 +501,7 @@ fallback_printer_get_hard_margins (GtkPrinter *printer,
gdouble *left,
gdouble *right)
{
- *top = 0;
- *bottom = 0;
- *left = 0;
- *right = 0;
-
- return TRUE;
+ return FALSE;
}
static GList *