From 25ebf713d903b000dd56d68ae1e66d0432c4305c Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 30 Apr 2010 17:18:46 +0000 Subject: [PATCH] Make thrasher_signing_off_cb static. --- thrasher.c | 5 ++++- thrasher.h | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/thrasher.c b/thrasher.c index 186719b..70a83bf 100644 --- a/thrasher.c +++ b/thrasher.c @@ -37,6 +37,8 @@ GHashTable *jid_to_account = NULL; void debug_print(PurpleDebugLevel level, const char *category, const char *arg_s); gboolean is_enabled(PurpleDebugLevel level, const char *category); +static void thrasher_signing_off_cb(PurpleConnection *gc); + static PurpleEventLoopUiOps glib_eventloops = { (guint(*)(guint, GSourceFunc, gpointer)) thrasher_wrapper_set_timeout_add, @@ -133,7 +135,8 @@ void thrasher_whoami (PurpleAccount * pa) pa->username); } -void thrasher_signing_off_cb(PurpleConnection *gc) { +static void +thrasher_signing_off_cb(PurpleConnection *gc) { g_return_if_fail(gc); PurpleAccount* pa = purple_connection_get_account(gc); diff --git a/thrasher.h b/thrasher.h index acdd448..a508393 100644 --- a/thrasher.h +++ b/thrasher.h @@ -52,7 +52,6 @@ thrasher_login (char *service, char *username, char *password, char *jid, GHashTable *other_args); void thrasher_init(void); gboolean thrasher_send_msg (PurpleAccount *pa, const char *name, const char *message); -void thrasher_signing_off_cb(PurpleConnection *gc); void thrasher_logout (PurpleAccount *pa); void thrasher_whoami (PurpleAccount *pa); PurpleAccount* thrasher_get_account_by_jid(const char* jid); -- 2.11.4.GIT