Re: calling gtk_list_store_clear on empty list

On Wednesday 01 December 2004 01:05, David wrote:

This may be an elementary question - The API reference doesn't say
anything about it, but just to be sure..

Is there any harm in calling gtk_list(or tree)_store_clear() upon an
empty list_store?  

No, of course not. It's perfectly fine to call gtk_list_store_clear() / 
gtk_tree_store_clear() on an empty store. 

Assume stuff like this is fine unless it says otherwise in the API docs or 
generates a warning when you try it out in code.


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