GNOME Bugzilla – Bug 547495
wrap four important asynchronous methods in gio.Drive and gio.Mount
Last modified: 2008-08-12 21:11:35 UTC
These methods are important in that there are no synchronous variants. I.e. if they are lacking, PyGObject will be unable to do some jobs at all (without hacks). Patch follows.
Created attachment 116455 [details] [review] 4 methods + docs There are no tests, as I don't know how to test these. But at least buggy methods are better than no methods in this case. Bugs can be fixed later, but adding methods would be an API break.
Sending ChangeLog Sending gio/gio.defs Sending gio/gio.override Transmitting file data ... Committed revision 948. 2008-08-13 Paul Pogonyshev <pogonyshev@gmx.net> Bug 547495 – wrap four important asynchronous methods in gio.Drive and gio.Mount * gio/gio.defs (gio.Drive.eject, gio.Drive.poll_for_media) (gio.Mount.remount): Document. * gio/gio.override (_wrap_g_drive_eject) (_wrap_g_drive_poll_for_media, _wrap_g_mount_eject) (_wrap_g_mount_remount): New functions.