@techee commented 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));

I think I did it right. Notice the original code - if first defines
```
#define GTK_FONT_SELECTION_DIALOG GTK_FONT_CHOOSER_DIALOG
```
but then, when it's called, there's an extra `GTK_FONT_CHOOSER()` which 
overrides it

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

Message ID: <geany/geany/pull/3580/review/[email protected]>

Reply via email to