summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2009-11-21 20:08:17 +1030
committerCarlos Garcia Campos <carlosgc@gnome.org>2009-12-05 13:47:31 +0100
commit05bb47cc3edea993d99eff5e03fb17efd4f11508 (patch)
tree412e36d3f2a38f426e3a0852a642a2a87efb4944 /gtk
parent48cf7d9e7e2677bb5687e2c9b600fda7b56e0056 (diff)
downloadgtk+-05bb47cc3edea993d99eff5e03fb17efd4f11508.tar.gz
Default to hard margins not available
unless the print backend explicitly provides them.
Diffstat (limited to 'gtk')
-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 *