cjmayo left a comment (geany/geany-plugins#1415)
- gchar *rcstyle = g_strdup_printf("style \"geanyvc-diff-font\"\n" - "{\n" - " font_name=\"%s\"\n" - "}\n" - "widget \"*.GeanyVCCommitDialogDiff\" style \"geanyvc-diff-font\"", - geany_data->interface_prefs->editor_font); - - gtk_rc_parse_string(rcstyle); - g_free(rcstyle); - .... textDiff = gtk_text_view_new(); - gtk_widget_set_name(textDiff, "GeanyVCCommitDialogDiff"); + ui_widget_modify_font_from_string(textDiff, geany_data->interface_prefs->editor_font);
Left this out - the font family and size were not the same for me after this.