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

Re: [virt-tools-list] [libosinfo] API to query required user avatar format



On Tue, Nov 20, 2012 at 7:09 PM, Christophe Fergeau <cfergeau redhat com> wrote:
> On Tue, Nov 20, 2012 at 06:10:30PM +0200, Zeeshan Ali (Khattak) wrote:
>> On Tue, Nov 20, 2012 at 4:59 PM, Christophe Fergeau <cfergeau redhat com> wrote:
>> >Can we make this a GStrv or a GList or GArray, ... ?
>>
>> That will not be as easy to implement as entity params can't be lists
>> right now. I think regex does the trick.
>
> I'm not talking about how it's stored in the xml database, but about how
> it's exposed in gobject properties/public getter. We can apply some
> transformation between what we use internally and what the library user
> will see.

Sure but I don't see why those two things need to be different and us
having to do transformations.

>> > Well, you mentioned alpha, and then R, G, B. If bit depth is 32, are we
>> > supposed to be using ARGB, RGBA, BGRA. ... ?
>>
>> Who is we? libosinfo doesn't need any of this info, its the apps that needs it.
>
> 'we' was the library user there, or someone wanting to understand what the
> this bit depth property means.

It means bit depth of course, regardless of other details. As I said,
I'll change it to bool..

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124


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