diff options
author | Richard Laager <rlaager@pidgin.im> | 2007-06-16 19:44:59 +0000 |
---|---|---|
committer | Richard Laager <rlaager@pidgin.im> | 2007-06-16 19:44:59 +0000 |
commit | 24e6fa513ea900b8cb0345e24cbcf062427ddace (patch) | |
tree | 0c4341009e67938ffed1e745cf72c3c9fabe1092 /finch/gntft.c | |
parent | fa13c7c25ca479dddb3a58ffb336ea0a082f6402 (diff) | |
download | pidgin-24e6fa513ea900b8cb0345e24cbcf062427ddace.tar.gz |
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.
Diffstat (limited to 'finch/gntft.c')
-rw-r--r-- | finch/gntft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/finch/gntft.c b/finch/gntft.c index a721b6305d..6cfebbbe45 100644 --- a/finch/gntft.c +++ b/finch/gntft.c @@ -86,7 +86,7 @@ enum static void update_title_progress() { - const GList *list; + GList *list; int num_active_xfers = 0; guint64 total_bytes_xferred = 0; guint64 total_file_size = 0; @@ -172,7 +172,7 @@ stop_button_cb(GntButton *button) void finch_xfer_dialog_new(void) { - const GList *iter; + GList *iter; GntWidget *window; GntWidget *bbox; GntWidget *button; |