diff options
Diffstat (limited to 'camel/camel-object.c')
-rw-r--r-- | camel/camel-object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-object.c b/camel/camel-object.c index 849d47612e..69582570f0 100644 --- a/camel/camel-object.c +++ b/camel/camel-object.c @@ -742,7 +742,7 @@ camel_object_unhook_event (CamelObject * obj, const gchar * name, g_free (hooklist->data); head = g_slist_remove_link (head, hooklist); g_slist_free_1 (hooklist); - g_hash_table_insert (obj->event_to_hooklist, name, + g_hash_table_insert (obj->event_to_hooklist, (char *) name, head); return; } |