cjmayo left a comment (geany/geany-plugins#1415)

> ```diff
> -     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.

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

Message ID: <geany/geany-plugins/pull/1415/[email protected]>

Reply via email to