Re: calling gtk_list_store_clear on empty list
- From: David <dbree duo-county com>
- To: gtk-app-devel-list gnome org
- Subject: Re: calling gtk_list_store_clear on empty list
- Date: Wed, 1 Dec 2004 04:32:46 -0600
On Wed, Dec 01, 2004 at 09:03:26AM +0000, Tim Müller wrote:
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.
Thanks very much. I had thought as much, but wanted to be sure. This
will save some unneeded checking in the code.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]