diff options
-rw-r--r-- | src/spice-widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spice-widget.c b/src/spice-widget.c index 34bc128..fdaf6d6 100644 --- a/src/spice-widget.c +++ b/src/spice-widget.c @@ -2537,10 +2537,10 @@ static void channel_destroy(SpiceSession *s, SpiceChannel *channel, gpointer dat * * Returns: a new #SpiceDisplay widget. **/ -SpiceDisplay *spice_display_new(SpiceSession *session, int id) +SpiceDisplay *spice_display_new(SpiceSession *session, int channel_id) { return g_object_new(SPICE_TYPE_DISPLAY, "session", session, - "channel-id", id, NULL); + "channel-id", channel_id, NULL); } /** |