-
John (J5) Palmieri authored
* In GTK a GList * and GSList set to NULL is equivilant to empty list. All GTK list methods can take a NULL and treat it as an empty list. e.g. g_list_length(NULL) returns 0 * PyGtk consitently returns empty list when a NULL is returned for GList or GSList return * Many PyGtk apps do this: for i in range(len(obj.get_list())): ... * If we were to continue to return None, they would have to add a check which is needlessly verbose and isn't very "pythonic" https://bugzilla.gnome.org/show_bug.cgi?id=619232
4b369f8a