Re: [Vala] Socket source



I don't know from where the issue came from but you can find something
on https://bugzilla.gnome.org/show_bug.cgi?id=769222

2016-09-30 7:34 GMT+02:00 Andy Lees <andrewl oz gmail com>:
Hi,

After 0.30, the socket create source function changed from returning a
SocketSource to returning a GLib.Source.  Now, for the correct operation of
the socket callback, the returned object must be a SocketSource, so:

   - Is the implementation still the same, and presumably if so it is safe
   to do a hard cast to a SocketSource on the return object?  That appears to
   be the only option given that SocketSource is a compact class.
   - Why was the change to the return type from socket create_source made?

Regards,

Andrew Lees
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]