summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2018-07-04 18:40:33 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2018-07-04 18:40:33 +0200
commit6c8988e445dd1c42a49245d216faf083b206afc0 (patch)
tree1f88dcb818e421b391e17ebed0b725fa74fa4630
parent9fb3b842536a428731c63545bfd0499ac3959d42 (diff)
downloadgtk+-6c8988e445dd1c42a49245d216faf083b206afc0.tar.gz
gtkprinter: Make gtk_printer_get_hard_margins_for_paper_size() public
The declaration in gtkprinter.h shall be preceded by GDK_AVAILABLE_IN_ALL, or else the function can't be used in application programs. Closes #1140
-rw-r--r--gtk/gtkprinter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkprinter.h b/gtk/gtkprinter.h
index 205d04fb65..b8bd1eb484 100644
--- a/gtk/gtkprinter.h
+++ b/gtk/gtkprinter.h
@@ -164,6 +164,7 @@ gboolean gtk_printer_get_hard_margins (GtkPrinter *pr
gdouble *bottom,
gdouble *left,
gdouble *right);
+GDK_AVAILABLE_IN_ALL
gboolean gtk_printer_get_hard_margins_for_paper_size (GtkPrinter *printer,
GtkPaperSize *paper_size,
gdouble *top,