[gtk+] Default to hard margins not available



commit 05bb47cc3edea993d99eff5e03fb17efd4f11508
Author: Adrian Johnson <ajohnson redneon com>
Date:   Sat Nov 21 20:08:17 2009 +1030

    Default to hard margins not available
    
    unless the print backend explicitly provides them.

 gtk/gtkprintbackend.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c
index 4b8b0de..648a472 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 *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]