[Github-comments] [geany/geany-plugins] geanydoc: Current word as initial text in interactive mode (#457)
Colomban Wendling
notifications at xxxxx
Sat Jul 9 12:05:13 UTC 2016
> GtkWidget *dialog, *entry;
>
> /* example configuration dialog */
> - dialog = create_Interactive();
> + dialog = create_Interactive(default_word);
> + if (default_word)
> + g_free(default_word);
`g_free()` (like `free()`) is `NULL`-safe, no need to guard it
---
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/457/files/85d6d5d8780bb063c0b3033acf91b384a5483355#r70166361
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160709/ba63b322/attachment.html>
More information about the Github-comments
mailing list