diff options
-rw-r--r-- | gtk/channel-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/channel-main.c b/gtk/channel-main.c index 5f2189a..79cf7e8 100644 --- a/gtk/channel-main.c +++ b/gtk/channel-main.c @@ -198,7 +198,7 @@ static void main_handle_init(SpiceChannel *channel, spice_msg_in *in) SpiceSession *session; spice_msg_out *out; - g_object_get(channel, "session", &session, NULL); + g_object_get(channel, "spice-session", &session, NULL); spice_session_set_connection_id(session, init->session_id); out = spice_msg_out_new(channel, SPICE_MSGC_MAIN_ATTACH_CHANNELS); @@ -232,7 +232,7 @@ static void main_handle_channels_list(SpiceChannel *channel, spice_msg_in *in) SpiceChannel *add; int i; - g_object_get(channel, "session", &session, NULL); + g_object_get(channel, "spice-session", &session, NULL); for (i = 0; i < msg->num_of_channels; i++) { add = spice_channel_new(session, msg->channels[i].type, msg->channels[i].id); |