summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-09-24 17:59:42 +0200
committerPavel Grunt <pgrunt@redhat.com>2015-09-25 13:39:00 +0200
commit339322adf4eedfe16c2481cdae724cc28e3facfe (patch)
tree22ab0931cfd203a07ca4805e62aa9d5702daa887
parent82e06cea4819b3774088659aa8d272d1e77f7018 (diff)
downloadspice-gtk-339322adf4eedfe16c2481cdae724cc28e3facfe.tar.gz
spice-gtk-339322adf4eedfe16c2481cdae724cc28e3facfe.tar.xz
spice-gtk-339322adf4eedfe16c2481cdae724cc28e3facfe.zip
channel-main: Rename parameter to match docs
-rw-r--r--src/spice-widget.c4
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);
}
/**