[shotwell/wip/phako/misc-fixes] Fix more deprecated functions



commit fb62a822f69915e5ffd656193b0d0e9b31fc582b
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]