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

Re: [libvirt] [libvirt-glib 1/2] Follow glib conventions for SimpleAsyncResult source tag



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 :|


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