Commit a7bd73f1 authored by Sébastien Lafargue's avatar Sébastien Lafargue

print: remove deprecated usage of gtk_font_button_get_font_name

deprrecated: since gtk 3.22
replaced by: gtk_font_chooser_get_font
parent d2da577e
......@@ -366,9 +366,9 @@ custom_widget_apply_cb (GtkPrintOperation *operation,
syntax = gtk_toggle_button_get_active (job->syntax_checkbutton);
page_header = gtk_toggle_button_get_active (job->page_header_checkbutton);
body_font = gtk_font_button_get_font_name (job->body_fontbutton);
header_font = gtk_font_button_get_font_name (job->headers_fontbutton);
numbers_font = gtk_font_button_get_font_name (job->numbers_fontbutton);
body_font = gtk_font_chooser_get_font (GTK_FONT_CHOOSER (job->body_fontbutton));
header_font = gtk_font_chooser_get_font (GTK_FONT_CHOOSER (job->headers_fontbutton));
numbers_font = gtk_font_chooser_get_font (GTK_FONT_CHOOSER (job->numbers_fontbutton));
g_settings_set_boolean (job->gsettings,
GEDIT_SETTINGS_PRINT_SYNTAX_HIGHLIGHTING,
......
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