@kugel- requested changes on this pull request.


> @@ -841,8 +827,8 @@ on_font_dialog_response(GtkDialog *dialog, gint response, 
> gpointer user_data)
                {
                        gchar *fontname;
 
-                       fontname = gtk_font_selection_dialog_get_font_name(
-                               
GTK_FONT_SELECTION_DIALOG(ui_widgets.open_fontsel));
+                       fontname = gtk_font_chooser_get_font(
+                               GTK_FONT_CHOOSER(ui_widgets.open_fontsel));

`GTK_FONT_CHOOSER_DIALOG()`

> @@ -883,8 +869,8 @@ void dialogs_show_open_font(void)
 
                
gtk_window_set_transient_for(GTK_WINDOW(ui_widgets.open_fontsel), 
GTK_WINDOW(main_widgets.window));
        }
-       gtk_font_selection_dialog_set_font_name(
-               GTK_FONT_SELECTION_DIALOG(ui_widgets.open_fontsel), 
interface_prefs.editor_font);
+       gtk_font_chooser_set_font(
+               GTK_FONT_CHOOSER(ui_widgets.open_fontsel), 
interface_prefs.editor_font);

`GTK_FONT_CHOOSER_DIALOG`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3580#pullrequestreview-1663117013
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3580/review/1663117...@github.com>

Reply via email to