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

Re: GtkCellLayout interface



muppet <scott asofyet org> writes:
>
> That one has always been that way.  The idea was, "if you're doing  
> this, you probably mean 'clear', so just call that."

It looks like the C code in gtk_cell_layout_set_attributesv allows an
empty list, for what it's worth (but as I say, without actually running
it :-),
http://svn.gnome.org/viewvc/gtk%2B/trunk/gtk/gtkcelllayout.c?view=markup

> I guess if you  
> were holding all the attributes to set in a list, and the list was  
> empty, then allowing an empty list would make it work cleanly,

Yes, that'd seem friendly to me.


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