[gtk+] broadway: Use correct type in assignment
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] broadway: Use correct type in assignment
- Date: Thu, 21 Dec 2017 19:16:03 +0000 (UTC)
commit f1ef42287148f42a733fcc4b63d32955aefea633
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Dec 21 18:42:26 2017 +0000
broadway: Use correct type in assignment
The new type propagation for g_object_ref() is raising a compiler
warning for an assignment with a different type.
gdk/broadway/broadway-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/broadway/broadway-server.c b/gdk/broadway/broadway-server.c
index c3e0b34..951c703 100644
--- a/gdk/broadway/broadway-server.c
+++ b/gdk/broadway/broadway-server.c
@@ -1289,7 +1289,7 @@ handle_incoming_connection (GSocketService *service,
}
else
{
- request->connection = g_object_ref (connection);
+ request->connection = G_IO_STREAM (g_object_ref (connection));
}
in = g_io_stream_get_input_stream (request->connection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]