[gnome-network-displays/cc-tmp: 31/80] cc: fatal error when the receive pipeline is broken
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-network-displays/cc-tmp: 31/80] cc: fatal error when the receive pipeline is broken
- Date: Fri, 9 Sep 2022 12:03:50 +0000 (UTC)
commit 627f31364e02cf03f42b97d864afd468b5c1623b
Author: Anupam Kumar <kyteinsky gmail com>
Date: Sat Sep 3 15:44:21 2022 +0530
cc: fatal error when the receive pipeline is broken
src/cc/cc-comm.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/cc/cc-comm.c b/src/cc/cc-comm.c
index f783cfb..e85e84c 100644
--- a/src/cc/cc-comm.c
+++ b/src/cc/cc-comm.c
@@ -123,11 +123,11 @@ cc_comm_message_read_cb (GObject *source_object,
if (error)
{
g_error ("CcComm: Error reading message from stream: %s", error->message);
- cc_comm_listen (comm);
+ comm->closure->fatal_error_cb (comm->closure, &error);
return;
}
g_error ("CcComm: Error reading message from stream.");
- cc_comm_listen (comm);
+ comm->closure->fatal_error_cb (comm->closure, NULL);
return;
}
@@ -175,11 +175,11 @@ cc_comm_header_read_cb (GObject *source_object,
if (error)
{
g_error ("CcComm: Error reading header from stream: %s", error->message);
- cc_comm_listen (comm);
+ comm->closure->fatal_error_cb (comm->closure, &error);
return;
}
g_error ("CcComm: Error reading header from stream.");
- cc_comm_listen (comm);
+ comm->closure->fatal_error_cb (comm->closure, NULL);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]