[shotwell/wip/phako/misc-fixes: 8/8] Fix more deprecated functions
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/phako/misc-fixes: 8/8] Fix more deprecated functions
- Date: Wed, 12 Sep 2018 11:55:35 +0000 (UTC)
commit 235bec17619cba4790167955e8581e7507a28661
Author: Jens Georg <mail jensge org>
Date: Sat Sep 8 17:17:34 2018 +0200
Fix more deprecated functions
src/Printing.vala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Printing.vala b/src/Printing.vala
index 988a4567..607b5cc4 100644
--- a/src/Printing.vala
+++ b/src/Printing.vala
@@ -683,7 +683,7 @@ public class CustomPrintTab : Gtk.Box {
}
private void set_print_titles_font(string fontname) {
- title_print_font.set_font_name(fontname);
+ (title_print_font as Gtk.FontChooser).set_font(fontname);
}
@@ -695,8 +695,8 @@ public class CustomPrintTab : Gtk.Box {
return title_print_check.get_active();
}
- private string get_print_titles_font() {
- return title_print_font.get_font_name();
+ private string get_print_titles_font() {
+ return (title_print_font as Gtk.FontChooser).get_font();
}
public PrintJob get_source_job() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]