ToshioCP / Gtk4-tutorial

GTK 4 tutorial for beginners
https://toshiocp.github.io/Gtk4-tutorial/
548 stars 50 forks source link

Section 12: Wrong line references in "Explanation of Save and saveas functions" #8

Closed igormorgado closed 3 years ago

igormorgado commented 3 years ago

The bullets related to the functions in saveas_dialog_response, tfe_text_view_save and tfe_text_view_saveas are pointing to wrong lines. That creates a very complicated explanation.

Just to make things easier to search in the file, the problem starts at "Tfe_text_view_save function." and ends at "Finally, it calls tfe_text_view_save to save the buffer to the file."

Hope it helps.

ToshioCP commented 3 years ago

Thank you Igor for pointing out the mistake. The source file "tfetextview.c" had been upgraded, but document has still had the old description. I also found bugs in tfetextview.c So I updated several files. The part you pointed out has been changed a lot.