@techee commented on this pull request.


In src/dialogs.c:

> @@ -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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3580/review/1663172183@github.com>