From 363cd0e8fe9034f7cb22c812c621119d4dd5104d Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 28 Sep 2010 17:42:42 +0200 Subject: fix main channel --- gtk/channel-main.c | 4 ++-- 1 file 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); -- cgit v1.2.3