[libvirt] [libvirt-glib 1/2] Follow glib conventions for SimpleAsyncResult source tag
Daniel P. Berrange
berrange at redhat.com
Mon Jan 9 09:37:48 UTC 2012
On Mon, Jan 09, 2012 at 10:11:11AM +0100, Christophe Fergeau wrote:
> g_simple_async_result_is_valid() API documentation says that the
> source tag field for SimpleAsyncResult objects "by convention, is a
> pointer to the _async function corresponding to the _finish function from
> which this function is called"
> The stream functions were already following this convention, but
> other places were using the sync function name as the source tag.
> This commit uses the async function name everywhere.
> ---
> libvirt-gobject/libvirt-gobject-connection.c | 12 ++++++------
> libvirt-gobject/libvirt-gobject-domain.c | 4 ++--
> libvirt-gobject/libvirt-gobject-storage-pool.c | 12 ++++++------
> 3 files changed, 14 insertions(+), 14 deletions(-)
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list