]> Pileus Git - ~andy/gtk/commitdiff
Default to hard margins not available
authorAdrian Johnson <ajohnson@redneon.com>
Sat, 21 Nov 2009 09:38:17 +0000 (20:08 +1030)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 5 Dec 2009 12:47:31 +0000 (13:47 +0100)
unless the print backend explicitly provides them.

gtk/gtkprintbackend.c

index 4b8b0dedf3ddf566ce10f911d3100f2543886f7c..648a47248c4cc2514d33ce8cc97a855d81cf57a5 100644 (file)
@@ -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 *