2007-08-24 [holger] 2.10.0cvs170
[claws.git] / src / plugins / trayicon / trayicon.c
index af5f2221fcec448b6d52d1bc46efdd3bc9e8dd3a..4f01ce88da47870b3eec2fef3e7d7d16797a1b4f 100644 (file)
@@ -418,7 +418,7 @@ int plugin_init(gchar **error)
        }
 
        account_hook_id = hooks_register_hook (ACCOUNT_LIST_CHANGED_HOOKLIST, trayicon_set_accounts_hook, NULL);
-       if (offline_hook_id == -1) {
+       if (account_hook_id == -1) {
                *error = g_strdup(_("Failed to register account list changed hook"));
                return -1;
        }