[virt-tools-list] [libosinfo v2 5/8] InstallConfigParam:policy should not be writable

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Mon Nov 12 14:49:38 UTC 2012


On Mon, Nov 12, 2012 at 11:26 AM, Christophe Fergeau
<cfergeau at redhat.com> wrote:
> On Fri, Nov 09, 2012 at 04:14:21PM +0100, Zeeshan Ali (Khattak) wrote:
>> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
>>
>> This actually not only breaks ABI but also the API: we remove one argument
>> of _new() function. The prop getter is the main part of this API that an
>> app will be using if its using this API at all so I think its worth it to
>> correct this now  (while we are causing other breakage here: See next
>> patch in this series).
>
> This property is CONSTRUCT_ONLY anyway, I think this sort of construct is
> a fairly typical of passing arguments when creating a gobject.

It shouldn't be construct-only. This is nothing an app needs to write.
As I said in the log, there is probably no need to expose the
construct in public API.


-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124




More information about the virt-tools-list mailing list