Re: [libosinfo v2 5/8] InstallConfigParam:policy should not be writable

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

 



On Mon, Nov 12, 2012 at 11:26 AM, Christophe Fergeau
<cfergeau@xxxxxxxxxx> wrote:
> On Fri, Nov 09, 2012 at 04:14:21PM +0100, Zeeshan Ali (Khattak) wrote:
>> From: "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx>
>>
>> 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


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux