aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-04 07:32:22 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:47:37 +0800
commit74817d7509831f225de813fa82fa8d53c3a44f58 (patch)
tree122ecad1e133b487a1d06e3192000e9ee232ad78
parent26274be2897e98800e0b7baeda3319916205b56c (diff)
downloadgsoc2013-empathy-74817d7509831f225de813fa82fa8d53c3a44f58.tar
gsoc2013-empathy-74817d7509831f225de813fa82fa8d53c3a44f58.tar.gz
gsoc2013-empathy-74817d7509831f225de813fa82fa8d53c3a44f58.tar.bz2
gsoc2013-empathy-74817d7509831f225de813fa82fa8d53c3a44f58.tar.lz
gsoc2013-empathy-74817d7509831f225de813fa82fa8d53c3a44f58.tar.xz
gsoc2013-empathy-74817d7509831f225de813fa82fa8d53c3a44f58.tar.zst
gsoc2013-empathy-74817d7509831f225de813fa82fa8d53c3a44f58.zip
Use proper DEBUG() messages
-rw-r--r--libempathy/empathy-ft-handler.c16
-rw-r--r--libempathy/empathy-tp-file.c1
2 files changed, 8 insertions, 9 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index f20e62834..89fc13399 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -389,7 +389,7 @@ ft_handler_create_channel_cb (EmpathyDispatchOperation *operation,
EmpathyFTHandlerPriv *priv = GET_PRIV (handler);
GError *my_error = NULL;
- DEBUG ("FT: dispatcher create channel CB");
+ DEBUG ("Dispatcher create channel CB");
if (error != NULL)
{
@@ -428,7 +428,7 @@ ft_handler_push_to_dispatcher (EmpathyFTHandler *handler)
McAccount *account;
EmpathyFTHandlerPriv *priv = GET_PRIV (handler);
- DEBUG ("FT: pushing request to the dispatcher");
+ DEBUG ("Pushing request to the dispatcher");
dispatcher = empathy_dispatcher_dup_singleton ();
account = empathy_contact_get_account (priv->contact);
@@ -527,7 +527,7 @@ hash_job_async_close_stream_cb (GObject *source,
GError *error = NULL;
GValue *value;
- DEBUG ("FT: closing stream after hashing.");
+ DEBUG ("Closing stream after hashing.");
priv = GET_PRIV (handler);
@@ -558,7 +558,7 @@ hash_job_async_close_stream_cb (GObject *source,
/* set the checksum in the request */
- DEBUG ("FT: got file hash %s", g_checksum_get_string (hash_data->checksum));
+ DEBUG ("Got file hash %s", g_checksum_get_string (hash_data->checksum));
/* org.freedesktop.Telepathy.Channel.Type.FileTransfer.ContentHash */
value = tp_g_value_slice_new (G_TYPE_STRING);
@@ -593,7 +593,7 @@ hash_job_async_read_cb (GObject *source,
gssize bytes_read;
GError *error = NULL;
- DEBUG ("FT: reading a chunk for hashing.");
+ DEBUG ("Reading a chunk for hashing.");
bytes_read = g_input_stream_read_finish (hash_data->stream, res, &error);
if (error != NULL)
@@ -660,7 +660,7 @@ ft_handler_read_async_cb (GObject *source,
EmpathyFTHandler *handler = user_data;
EmpathyFTHandlerPriv *priv = GET_PRIV (handler);
- DEBUG ("FT: GFile read async CB.");
+ DEBUG ("GFile read async CB.");
stream = g_file_read_finish (priv->gfile, res, &error);
if (error != NULL)
@@ -742,7 +742,7 @@ ft_handler_gfile_ready_cb (GObject *source,
GTimeVal mtime;
EmpathyFTHandlerPriv *priv = GET_PRIV (cb_data->handler);
- DEBUG ("FT: got GFileInfo.");
+ DEBUG ("Got GFileInfo.");
info = g_file_query_info_finish (priv->gfile, res, &error);
@@ -786,7 +786,7 @@ ft_handler_contact_ready_cb (EmpathyContact *contact,
g_assert (priv->contact != NULL);
g_assert (priv->gfile != NULL);
- DEBUG ("FT: contact is ready.");
+ DEBUG ("Contact is ready.");
/* start collecting info about the file */
g_file_query_info_async (priv->gfile,
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index 7e6202259..cd28c541b 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -806,4 +806,3 @@ empathy_tp_file_is_ready (EmpathyTpFile *tp_file)
return tp_file->priv->ready;
}
-