diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2010-11-10 18:30:43 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2010-11-24 02:34:49 +0100 |
commit | 1de30942fa0931312f9f3702819b5e845866e6f1 (patch) | |
tree | d3e1b7eb40d5274fad650714a8068281674f35e9 /gtk/snappy.c | |
parent | f7cc7bed58489bea0be6117aac1a7feb2e2c850a (diff) |
gtk: remove spice_channel_id() function
The value can be retrieved by property
Diffstat (limited to 'gtk/snappy.c')
-rw-r--r-- | gtk/snappy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/snappy.c b/gtk/snappy.c index 2951d79..0f0dcd1 100644 --- a/gtk/snappy.c +++ b/gtk/snappy.c @@ -74,10 +74,12 @@ static void invalidate(SpiceChannel *channel, static void channel_new(SpiceSession *s, SpiceChannel *channel, gpointer *data) { - int id = spice_channel_id(channel); + int id; if (!SPICE_IS_DISPLAY_CHANNEL(channel)) return; + + g_object_get(channel, "channel-id", &id, NULL); if (id != 0) return; |