net: Constify a parameter to gst_net_client_clock_new()

Even though this parameter is not used, it should be const to fit in with the
coding standards for other similar parameters. Client code already passes in
const strings under the expectation that they won’t be modified.

https://bugzilla.gnome.org/show_bug.cgi?id=710442
This commit is contained in:
Philip Withnall 2013-10-18 08:58:05 +01:00 committed by Tim-Philipp Müller
parent 2231721ddd
commit 3c8424d9ae
2 changed files with 2 additions and 2 deletions

View file

@ -487,7 +487,7 @@ gst_net_client_clock_stop (GstNetClientClock * self)
* clock.
*/
GstClock *
gst_net_client_clock_new (gchar * name, const gchar * remote_address,
gst_net_client_clock_new (const gchar * name, const gchar * remote_address,
gint remote_port, GstClockTime base_time)
{
/* FIXME: gst_net_client_clock_new() should be a thin wrapper for g_object_new() */

View file

@ -70,7 +70,7 @@ struct _GstNetClientClockClass {
GType gst_net_client_clock_get_type (void);
GstClock* gst_net_client_clock_new (gchar *name, const gchar *remote_address,
GstClock* gst_net_client_clock_new (const gchar *name, const gchar *remote_address,
gint remote_port, GstClockTime base_time);
G_END_DECLS