[gtk+] Default to hard margins not available



commit a77f209f23e78da6e63495b0ef873e28a371e084
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]