diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-21 02:28:37 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-21 05:35:58 +0800 |
commit | be7376c0852cb4e5c112f2dd14a79de57f8bad26 (patch) | |
tree | bf41f3feb1a86665fe53c37a9f33056ccc263107 /e-util | |
parent | 1caea31f2d9e8ec2d7e3ec089b154bc427f85b38 (diff) | |
download | gsoc2013-evolution-be7376c0852cb4e5c112f2dd14a79de57f8bad26.tar gsoc2013-evolution-be7376c0852cb4e5c112f2dd14a79de57f8bad26.tar.gz gsoc2013-evolution-be7376c0852cb4e5c112f2dd14a79de57f8bad26.tar.bz2 gsoc2013-evolution-be7376c0852cb4e5c112f2dd14a79de57f8bad26.tar.lz gsoc2013-evolution-be7376c0852cb4e5c112f2dd14a79de57f8bad26.tar.xz gsoc2013-evolution-be7376c0852cb4e5c112f2dd14a79de57f8bad26.tar.zst gsoc2013-evolution-be7376c0852cb4e5c112f2dd14a79de57f8bad26.zip |
EClientCache: Fix some signal handler ID variable names.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-client-cache.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/e-util/e-client-cache.c b/e-util/e-client-cache.c index b9bbb54e76..577ff7b759 100644 --- a/e-util/e-client-cache.c +++ b/e-util/e-client-cache.c @@ -62,8 +62,8 @@ struct _ClientData { GWeakRef cache; EClient *client; GQueue connecting; - gulong client_died_handler_id; - gulong client_error_handler_id; + gulong backend_died_handler_id; + gulong backend_error_handler_id; }; struct _SignalClosure { @@ -128,8 +128,8 @@ client_data_unref (ClientData *client_data) /* The signal handlers hold a reference on client_data, * so we should not be here unless the signal handlers * have already been disconnected. */ - g_warn_if_fail (client_data->client_died_handler_id == 0); - g_warn_if_fail (client_data->client_error_handler_id == 0); + g_warn_if_fail (client_data->backend_died_handler_id == 0); + g_warn_if_fail (client_data->backend_error_handler_id == 0); g_mutex_clear (&client_data->lock); g_clear_object (&client_data->client); @@ -150,13 +150,13 @@ client_data_dispose (ClientData *client_data) if (client_data->client != NULL) { g_signal_handler_disconnect ( client_data->client, - client_data->client_died_handler_id); - client_data->client_died_handler_id = 0; + client_data->backend_died_handler_id); + client_data->backend_died_handler_id = 0; g_signal_handler_disconnect ( client_data->client, - client_data->client_error_handler_id); - client_data->client_error_handler_id = 0; + client_data->backend_error_handler_id); + client_data->backend_error_handler_id = 0; g_clear_object (&client_data->client); } @@ -439,7 +439,7 @@ client_cache_process_results (ClientData *client_data, client_data_ref (client_data), (GClosureNotify) client_data_unref, 0); - client_data->client_died_handler_id = handler_id; + client_data->backend_died_handler_id = handler_id; handler_id = g_signal_connect_data ( client, "backend-error", @@ -447,7 +447,7 @@ client_cache_process_results (ClientData *client_data, client_data_ref (client_data), (GClosureNotify) client_data_unref, 0); - client_data->client_error_handler_id = handler_id; + client_data->backend_error_handler_id = handler_id; g_signal_emit ( cache, signals[CLIENT_CREATED], 0, client); |