GNOME Bugzilla – Bug 533490
gst_message_new_warning() should take const gchar*
Last modified: 2008-05-17 13:54:11 UTC
The gchar* debug parameter of gst_message_new_warning should be const gchar*: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#gst-message-new-warning Likewise for gst_message_new_error() and gst_message_new_info()
You're right, we should fix these.
2008-05-17 Sebastian Dröge <slomo@circular-chaos.org> * gst/gstmessage.c: (gst_message_new_error), (gst_message_new_warning), (gst_message_new_info): * gst/gstmessage.h: Mark the debug string parameters as const. Fixes bug #533490.