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

Colomban Wendling notifications at xxxxx
Mon Jun 20 17:13:08 UTC 2016


> @@ -3813,3 +3813,14 @@ void document_grab_focus(GeanyDocument *doc)
>  
>  	gtk_widget_grab_focus(GTK_WIDGET(doc->editor->sci));
>  }
> +
> +static void        *copy_(void *src) { return src; }
> +static void         free_(void *doc) { }
> +
> +/** Gets the GType of GeanyDocument
> + *
> + * @return the GeanyDocument type */

hum… shouldn't those be `@gironly` too just yet?
they aren't really useful types as they don't to any instance management, so they are pointless in C (on advantage to use their type over `G_TYPE_POINTER`), so what about keeping that off API for the moment?

That would also limit the exposed surface so possibly limiting some future compatibility breakage.

---
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/eb3a1a6edf796e71bcd688a1f0e689416856ff25#r67727903
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160620/ec047c38/attachment.html>


More information about the Github-comments mailing list