calling gtk_list_store_clear on empty list
- From: David <dbree duo-county com>
- To: gtk-app-devel-list gnome org
- Subject: calling gtk_list_store_clear on empty list
- Date: Tue, 30 Nov 2004 19:05:12 -0600
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? I have an app which loads a file into a list_store,
and had been using the filename stored in a structure as a flag, but now
I have it where it can pipe data from an app. It would be no problem to
add another field with a specific IsLoaded flag, but if just simply
calling the "clear" unconditionally would suffice, it would save a bit
of extra baggage.
Thanks.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]