[Github-comments] [geany/geany] GI compatible msgwin_*_add (#1748)

Thomas Martitz notifications at xxxxx
Tue Jan 23 22:27:21 UTC 2018


This adds _string variants to 3 msgwin_{compiler,status,msg}_add(), since those cannot be gobject-introspected (functions with variadic arguments generally can't because the parameters couldn't be marshalled).

So I simply add _string variants which take the string after g_strdup_vprintf(). I found that two of them already existed, so I only needed to add one and export all 3 to plugins.

@sagarchalise wants this in peasy and the functions are currently not available in any form.

GEANY_API_VERSION increment is TODO, will do once this lands.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/1748

-- Commit Summary --

  * api: add non-variadic variants of msgwin_*_add to the API
  * msgwin: beautify doxygen comments a bit

-- File Changes --

    M src/msgwindow.c (117)
    M src/msgwindow.h (3)

-- Patch Links --

https://github.com/geany/geany/pull/1748.patch
https://github.com/geany/geany/pull/1748.diff

-- 
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/1748
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180123/24a11856/attachment.html>


More information about the Github-comments mailing list