Commit dd8b3157 authored by Rico Tzschichholz's avatar Rico Tzschichholz

gtk+-unix-print-*.0: Fix PrintJob.get_page_ranges(), Printer.get_hard_margins()

parent 0940516d
......@@ -80,7 +80,7 @@ namespace Gtk {
public Gtk.PrintCapabilities get_capabilities ();
public Gtk.PageSetup get_default_page_size ();
public unowned string get_description ();
public bool get_hard_margins (double top, double bottom, double left, double right);
public bool get_hard_margins (out double top, out double bottom, out double left, out double right);
public unowned string get_icon_name ();
[CCode (cname = "gtk_printer_is_virtual")]
public bool get_is_virtual ();
......
......@@ -22,7 +22,7 @@ namespace Gtk {
public uint get_n_up ();
public Gtk.NumberUpLayout get_n_up_layout ();
public int get_num_copies ();
public Gtk.PageRange get_page_ranges (int n_ranges);
public unowned Gtk.PageRange[] get_page_ranges ();
public Gtk.PageSet get_page_set ();
public Gtk.PrintPages get_pages ();
public unowned Gtk.Printer get_printer ();
......@@ -100,7 +100,7 @@ namespace Gtk {
public Gtk.PrintCapabilities get_capabilities ();
public Gtk.PageSetup get_default_page_size ();
public unowned string get_description ();
public bool get_hard_margins (double top, double bottom, double left, double right);
public bool get_hard_margins (out double top, out double bottom, out double left, out double right);
public unowned string get_icon_name ();
[CCode (cname = "gtk_printer_is_virtual")]
public bool get_is_virtual ();
......
......@@ -6,6 +6,10 @@ gtk_print_unix_dialog_get_settings transfer_ownership="1"
gtk_printer_accepts_pdf name="get_accepts_pdf"
gtk_printer_accepts_ps name="get_accepts_ps"
gtk_printer_get_default_page_size transfer_ownership="1"
gtk_printer_get_hard_margins.top is_out="1"
gtk_printer_get_hard_margins.bottom is_out="1"
gtk_printer_get_hard_margins.left is_out="1"
gtk_printer_get_hard_margins.right is_out="1"
gtk_printer_is_virtual name="get_is_virtual"
gtk_printer_list_papers transfer_ownership="1" type_name="GLib.List<Gtk.PageSetup>"
GtkPrintJobCompleteFunc hidden="1"
......
Gtk cheader_filename="gtk/gtkunixprint.h" gir_namespace="Gtk" gir_version="3.0" cprefix="Gtk" lower_case_cprefix="gtk_"
gtk_print_job_get_page_ranges is_array="1"
gtk_print_job_get_page_ranges.n_ranges hidden="1"
gtk_print_job_send.callback transfer_ownership="1"
gtk_print_job_send.dnotify hidden="1"
gtk_print_unix_dialog_get_settings transfer_ownership="1"
gtk_printer_accepts_pdf name="get_accepts_pdf"
gtk_printer_accepts_ps name="get_accepts_ps"
gtk_printer_get_default_page_size transfer_ownership="1"
gtk_printer_get_hard_margins.top is_out="1"
gtk_printer_get_hard_margins.bottom is_out="1"
gtk_printer_get_hard_margins.left is_out="1"
gtk_printer_get_hard_margins.right is_out="1"
gtk_printer_is_virtual name="get_is_virtual"
gtk_printer_list_papers transfer_ownership="1" type_name="GLib.List<Gtk.PageSetup>"
GtkPrintJobCompleteFunc hidden="1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment