[Github-comments] [geany/geany] Feature/reload all (#1471)

Vasiliy Faronov notifications at xxxxx
Sat Apr 29 15:23:54 UTC 2017


vfaronov commented on this pull request.



>  
-	document_reload_prompt(doc, NULL);
+/* reload all file */
+void on_toolbutton_reload_all_clicked(GtkAction *action, gpointer user_data)
+{
+	for (guint doc_count = 0; doc_count < documents_array->len; ++doc_count) {

I don’t know if this is relevant, but the [HACKING](https://github.com/geany/geany/blob/master/HACKING) docs say:

> Bugs to watch out for [...] Forgetting to check *doc->is_valid* when looping through *documents_array* - instead use *foreach_document()*.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1471#pullrequestreview-35498579
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170429/2ced32a6/attachment.html>


More information about the Github-comments mailing list