diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-04-12 18:15:10 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-04-12 18:15:10 +0000 |
commit | 034d64cd83e56f433c8091498f5b1b4521384a9e (patch) | |
tree | 4017b3211be99b0ca370851d3d5af29ce73083b3 /file.c | |
parent | 6dfb039a268f13e50d5ae82eabe3009ef92efdea (diff) |
Fetch return from g_list_remove.
svn path=/trunk/; revision=24945
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ cf_callback_remove(cf_callback_t func) while(cb_item != NULL) { cb = cb_item->data; if(cb->cb_fct == func) { - g_list_remove(cf_callbacks, cb); + cf_callbacks = g_list_remove(cf_callbacks, cb); g_free(cb); return; } |