aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-04-12 18:15:10 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-04-12 18:15:10 +0000
commit034d64cd83e56f433c8091498f5b1b4521384a9e (patch)
tree4017b3211be99b0ca370851d3d5af29ce73083b3 /file.c
parent6dfb039a268f13e50d5ae82eabe3009ef92efdea (diff)
Fetch return from g_list_remove.
svn path=/trunk/; revision=24945
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index b8c36da736..8b73fa0729 100644
--- a/file.c
+++ b/file.c
@@ -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;
}