[Github-comments] [geany/geany] Gi signals (#1038)

Colomban Wendling notifications at xxxxx
Sun Jun 5 10:05:03 UTC 2016


> @@ -183,6 +183,11 @@ typedef struct GeanyData
>  	struct GeanyTemplatePrefs	*template_prefs;	/**< Template settings */
>  	gpointer					*_compat;			/* Remove field on next ABI break (abi-todo) */
>  	GSList						*filetypes_by_title; /**< See filetypes.h#filetypes_by_title. */
> +	/** Global object signalling events via signals
> +	 *
> +	 * This is mostly for language bindings. Otherwise prefer to use
> +	 * plugin_signal_connect() instead this which adds automatic cleanup. */
> +	GeanyObject * const			object;

Also, it should probably be `@gironly` as I can't see a real use case in plain C that wouldn't be better served by the `plugin_signal_connect()` API.

---
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/1038/files/058d09f360a420cc639495dbf1567f81d1194462..a52f37027e6ddccad7bc2ccf5f424fb61018427b#r65814773
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160605/0ebe4986/attachment.html>


More information about the Github-comments mailing list