[Github-comments] [geany/geany-plugins] Project Organizer: Set header filetype to match source filetype (PR #1122)

xiota notifications at xxxxx
Fri Oct 29 03:16:28 UTC 2021


@xiota commented on this pull request.



> @@ -167,6 +307,7 @@ PluginCallback plugin_callbacks[] = {
 	{"document-open", (GCallback) & on_doc_open, TRUE, NULL},
 	{"document-activate", (GCallback) & on_doc_activate, TRUE, NULL},
 	{"document-close", (GCallback) & on_doc_close, TRUE, NULL},
+	{"document-filetype-set", (GCallback) & on_doc_filetype_set, TRUE, NULL},

After reorganizing the code, it seems to work fine without `document-filetype-set`.  I don't remember why I did it that way.  Should I still use `g_idle_add()`?

-- 
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-plugins/pull/1122#discussion_r738905641
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211028/795ba6fe/attachment.htm>


More information about the Github-comments mailing list