From d443a3c2509889533ca812c163056bace396b586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 14 Jun 2023 20:35:58 +0200 Subject: New upstream version 0.32.1 --- src/Printing.vala | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/Printing.vala') diff --git a/src/Printing.vala b/src/Printing.vala index 988a456..bef3476 100644 --- a/src/Printing.vala +++ b/src/Printing.vala @@ -271,29 +271,29 @@ public class CustomPrintTab : Gtk.Box { private const int CENTIMETERS_COMBO_CHOICE = 1; [GtkChild] - private Gtk.RadioButton standard_size_radio; + private unowned Gtk.RadioButton standard_size_radio; [GtkChild] - private Gtk.RadioButton custom_size_radio; + private unowned Gtk.RadioButton custom_size_radio; [GtkChild] - private Gtk.RadioButton image_per_page_radio; + private unowned Gtk.RadioButton image_per_page_radio; [GtkChild] - private Gtk.ComboBoxText image_per_page_combo; + private unowned Gtk.ComboBoxText image_per_page_combo; [GtkChild] - private Gtk.ComboBoxText standard_sizes_combo; + private unowned Gtk.ComboBoxText standard_sizes_combo; [GtkChild] - private Gtk.ComboBoxText units_combo; + private unowned Gtk.ComboBoxText units_combo; [GtkChild] - private Gtk.Entry custom_width_entry; + private unowned Gtk.Entry custom_width_entry; [GtkChild] - private Gtk.Entry custom_height_entry; + private unowned Gtk.Entry custom_height_entry; [GtkChild] - private Gtk.Entry ppi_entry; + private unowned Gtk.Entry ppi_entry; [GtkChild] - private Gtk.CheckButton aspect_ratio_check; + private unowned Gtk.CheckButton aspect_ratio_check; [GtkChild] - private Gtk.CheckButton title_print_check; + private unowned Gtk.CheckButton title_print_check; [GtkChild] - private Gtk.FontButton title_print_font; + private unowned Gtk.FontButton title_print_font; private Measurement local_content_width = Measurement(5.0, MeasurementUnit.INCHES); private Measurement local_content_height = Measurement(5.0, MeasurementUnit.INCHES); @@ -683,7 +683,7 @@ public class CustomPrintTab : Gtk.Box { } private void set_print_titles_font(string fontname) { - title_print_font.set_font_name(fontname); + ((Gtk.FontChooser) title_print_font).set_font(fontname); } @@ -696,7 +696,7 @@ public class CustomPrintTab : Gtk.Box { } private string get_print_titles_font() { - return title_print_font.get_font_name(); + return ((Gtk.FontChooser) title_print_font).get_font(); } public PrintJob get_source_job() { -- cgit v1.2.3