summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-09-28 17:42:42 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-09-28 17:47:04 +0200
commit363cd0e8fe9034f7cb22c812c621119d4dd5104d (patch)
tree009697f852b8579eb0496c7e020e1aaffe50a1bc
parent118b5080b91410dd875213bb901a5e9b9661ed32 (diff)
fix main channel
-rw-r--r--gtk/channel-main.c4
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);