Mercurial > pidgin.yaz
diff pidgin/gtksavedstatuses.c @ 18118:ab6d2763b8d8
Re-fix the DBus list handling code by killing const GList* / const GSList*
everywhere. Now we maintain a list of functions which return a GList or
GSList which must not be freed. Ideally at some point this will be
replaced with code that looks at the Doxygen comment for the function and
honors @constreturn, which I've declared as a macro around @return that
prints a @note about not modifying or freeing the returned value.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 16 Jun 2007 19:44:59 +0000 |
parents | 873ee0038752 |
children | 09eb621782bc |
line wrap: on
line diff
--- a/pidgin/gtksavedstatuses.c Sat Jun 16 19:21:06 2007 +0000 +++ b/pidgin/gtksavedstatuses.c Sat Jun 16 19:44:59 2007 +0000 @@ -389,7 +389,7 @@ static void populate_saved_status_list(StatusWindow *dialog) { - const GList *saved_statuses; + GList *saved_statuses; gtk_list_store_clear(dialog->model); @@ -1393,7 +1393,7 @@ GtkTreeIter iter; GtkCellRenderer *rend; const char *status_id = NULL; - const GList *list; + GList *list; gboolean select = FALSE; g_return_if_fail(status_editor != NULL);