On Wed, Oct 26, 2011 at 07:21:57PM +0300, Zeeshan Ali (Khattak) wrote:
On Wed, Oct 26, 2011 at 6:32 PM, Daniel P. Berrange
<berrange(a)redhat.com> wrote:
> On Wed, Oct 26, 2011 at 01:17:36AM +0300, Zeeshan Ali (Khattak) wrote:
>> From: "Zeeshan Ali (Khattak)" <zeeshanak(a)gnome.org>
>>
>> API to create new storage pools.
>
> ACK, but please add the 'unsigned int flags' parameter to this,
> rather than hardcoding 0. Through bitter experiance, all libvirt
> APIs now strive to have an 'unsigned int flags' parameter, because
> we invariably need to invent flags at some time or another.
Oh, I forgot to fix that. Thanks for reminding..
> I wish GObject introspection supported default values, so we could
> annotate all the flags parameters as taking a '0' default value
> to avoid apps needing to set it all the time.... The annotations
> are all defined, but the girscanner ignores them :-(
Yeah, Vala has supported that for a long time and I intend to fix
this for Vala bindings at least sometimes soon.
I knew I had seen a BZ about it somewhre before, and finally
found it again:
https://bugzilla.gnome.org/show_bug.cgi?id=558620
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 :|