diff options
author | Pavel Grunt <pgrunt@redhat.com> | 2015-09-24 17:59:42 +0200 |
---|---|---|
committer | Pavel Grunt <pgrunt@redhat.com> | 2015-09-25 13:39:00 +0200 |
commit | 339322adf4eedfe16c2481cdae724cc28e3facfe (patch) | |
tree | 22ab0931cfd203a07ca4805e62aa9d5702daa887 | |
parent | 82e06cea4819b3774088659aa8d272d1e77f7018 (diff) |
channel-main: Rename parameter to match docs
-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); } /** |