On Tue, 2016-11-15 at 10:34 +0000, Frediano Ziglio wrote: > + void (*channel_event)(const SpiceCoreInterfaceInternal *iface, > int event, SpiceChannelEventInfo *info); > + > + /* Implementation data. > + * Usually these fields are is implemented subclassing the > object and > + * adding new fields, in this case the choices are limited and > both > + * pointers so use an union to store all possible values. > + */ > + union { > + GMainContext *main_context; > + SpiceCoreInterface *public_interface; > + }; > }; see my comments/proposal that I just sent on the previous email thread. Jonathon _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel