summaryrefslogtreecommitdiff
path: root/examples/client/stream-tubes/offerer.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/client/stream-tubes/offerer.c')
-rw-r--r--examples/client/stream-tubes/offerer.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/examples/client/stream-tubes/offerer.c b/examples/client/stream-tubes/offerer.c
index d6361b078..8d62da38d 100644
--- a/examples/client/stream-tubes/offerer.c
+++ b/examples/client/stream-tubes/offerer.c
@@ -14,12 +14,12 @@ channel_closed_cb (GObject *object,
if (!tp_channel_close_finish (channel, result, &error))
{
- g_debug ("Failed to close tube channel: %s", error->message);
+ g_message ("Failed to close tube channel: %s", error->message);
g_error_free (error);
return;
}
- g_debug ("Tube channel closed");
+ g_message ("Tube channel closed");
}
static void
@@ -27,7 +27,7 @@ tube_conn_closed_cb (TpStreamTubeConnection *conn,
const GError *error,
gpointer user_data)
{
- g_debug ("Tube connection has been closed: %s", error->message);
+ g_message ("Tube connection has been closed: %s", error->message);
}
static void
@@ -47,7 +47,7 @@ _incoming_iostream (TpStreamTubeChannel *tube,
contact = tp_stream_tube_connection_get_contact (tube_conn);
- g_debug ("Got IOStream from %s",
+ g_message ("Got IOStream from %s",
tp_contact_get_identifier (contact));
conn = tp_stream_tube_connection_get_socket_connection (tube_conn);
@@ -58,9 +58,9 @@ _incoming_iostream (TpStreamTubeChannel *tube,
/* this bit is not a good example */
g_input_stream_read (in, &buf, sizeof (buf), NULL, &error);
g_assert_no_error (error);
- g_debug ("Received: %s", buf);
+ g_message ("Received: %s", buf);
- g_debug ("Sending: Pong");
+ g_message ("Sending: Pong");
g_output_stream_write (out, "Pong\n", 5, NULL, &error);
g_assert_no_error (error);
@@ -78,13 +78,13 @@ _tube_offered (GObject *tube,
if (!tp_stream_tube_channel_offer_finish (TP_STREAM_TUBE_CHANNEL (tube), res, &error))
{
- g_debug ("Failed to offer tube: %s", error->message);
+ g_message ("Failed to offer tube: %s", error->message);
g_error_free (error);
return;
}
- g_debug ("Tube offered");
+ g_message ("Tube offered");
}
static void
@@ -94,7 +94,7 @@ tube_invalidated_cb (TpStreamTubeChannel *tube,
gchar *message,
gpointer user_data)
{
- g_debug ("Tube has been invalidated: %s", message);
+ g_message ("Tube has been invalidated: %s", message);
g_main_loop_quit (loop);
}
@@ -111,13 +111,13 @@ _channel_created (GObject *source,
TP_ACCOUNT_CHANNEL_REQUEST (source), result, NULL, &error);
if (channel == NULL)
{
- g_debug ("Failed to create channel: %s", error->message);
+ g_message ("Failed to create channel: %s", error->message);
g_error_free (error);
return;
}
- g_debug ("Channel created: %s", tp_proxy_get_object_path (channel));
+ g_message ("Channel created: %s", tp_proxy_get_object_path (channel));
tube = TP_STREAM_TUBE_CHANNEL (channel);
@@ -175,7 +175,7 @@ main (int argc,
NULL);
- g_debug ("Offer channel to %s", argv[2]);
+ g_message ("Offer channel to %s", argv[2]);
req = tp_account_channel_request_new (account, request,
TP_USER_ACTION_TIME_CURRENT_TIME);