Closed sedwards closed 1 year ago
I was of thinking, I should get the file size first (with ftell SEEK_END or stat) but my fingers refused to type more chars, so a fixed buffer size was thrown into the mix
But it's to possible to use g_file_get_contents()
instead, I've used it in the past, but memories fade
https://developer-old.gnome.org/glib/stable/glib-File-Utilities.html
See commit https://github.com/masneyb/gftp/commit/c48198cb0bbf76417e13dcf9d62cff9cdab0526a
gtk_about_dialog_set_license behaves slightly differently than gtk_about_dialog_set_authors, because of course it does.