mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Removed _shutdown function in profanity.c
This commit is contained in:
parent
2abd525cae
commit
852112cda8
@ -272,7 +272,7 @@ static struct cmd_t setting_commands[] =
|
|||||||
"Config file section : [ui]",
|
"Config file section : [ui]",
|
||||||
"Config file value : showsplash=true|false",
|
"Config file value : showsplash=true|false",
|
||||||
NULL } } },
|
NULL } } },
|
||||||
|
|
||||||
{ "/vercheck",
|
{ "/vercheck",
|
||||||
_cmd_vercheck,
|
_cmd_vercheck,
|
||||||
{ "/vercheck [on|off]", "Check for a new release.",
|
{ "/vercheck [on|off]", "Check for a new release.",
|
||||||
|
@ -44,7 +44,6 @@ static void _create_config_directory();
|
|||||||
static void _free_roster_entry(jabber_roster_entry *entry);
|
static void _free_roster_entry(jabber_roster_entry *entry);
|
||||||
static void _init(const int disable_tls, char *log_level);
|
static void _init(const int disable_tls, char *log_level);
|
||||||
static void _shutdown_init(void);
|
static void _shutdown_init(void);
|
||||||
static void _shutdown(void);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
prof_run(const int disable_tls, char *log_level)
|
prof_run(const int disable_tls, char *log_level)
|
||||||
@ -302,12 +301,6 @@ _shutdown_init(void)
|
|||||||
jabber_free_resources();
|
jabber_free_resources();
|
||||||
}
|
}
|
||||||
|
|
||||||
_shutdown();
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
|
||||||
_shutdown(void)
|
|
||||||
{
|
|
||||||
contact_list_clear();
|
contact_list_clear();
|
||||||
gui_close();
|
gui_close();
|
||||||
chat_log_close();
|
chat_log_close();
|
||||||
|
Loading…
Reference in New Issue
Block a user