fixes bug http://bugzilla.gnome.org/show_bug.cgi?id=90333 and similar.

Original commit message from CVS:
fixes bug
http://bugzilla.gnome.org/show_bug.cgi?id=90333
and similar.
I'd like to also do s/guchar/gchar/ in the xml functions, any reason not to ?
please comment ;)
parent 25323994
......@@ -434,12 +434,12 @@ init_post (void)
#ifndef GST_DISABLE_TRACE
_gst_trace_on = 0;
if (_gst_trace_on) {
gst_trace = gst_trace_new ("gst.trace",1024);
gst_trace = gst_trace_new ("gst.trace", 1024);
gst_trace_set_default (gst_trace);
}
#endif /* GST_DISABLE_TRACE */
if (_gst_progname == NULL) {
_gst_progname = g_strdup("gstprog");
_gst_progname = g_strdup ("gstprog");
}
}
......
......@@ -1252,7 +1252,7 @@ gst_element_get_pad_template_list (GstElement *element)
* Returns: the padtemplate with the given name. No unreferencing is necessary.
*/
GstPadTemplate*
gst_element_get_pad_template (GstElement *element, const guchar *name)
gst_element_get_pad_template (GstElement *element, const gchar *name)
{
GList *padlist;
......@@ -2333,8 +2333,8 @@ gst_element_restore_thyself (GstObject *object, xmlNodePtr self)
{
xmlNodePtr children;
GstElement *element;
guchar *name = NULL;
guchar *value = NULL;
gchar *name = NULL;
gchar *value = NULL;
element = GST_ELEMENT (object);
g_return_if_fail (element != NULL);
......
......@@ -245,7 +245,7 @@ GstPad* gst_element_get_compatible_request_pad (GstElement *element, GstPadTem
GstPad* gst_element_get_compatible_static_pad (GstElement *element, GstPadTemplate *templ);
*/
GstPadTemplate* gst_element_get_pad_template (GstElement *element, const guchar *name);
GstPadTemplate* gst_element_get_pad_template (GstElement *element, const gchar *name);
GList* gst_element_get_pad_template_list (GstElement *element);
GstPadTemplate* gst_element_get_compatible_pad_template (GstElement *element, GstPadTemplate *compattempl);
......
......@@ -1880,7 +1880,7 @@ gst_pad_load_and_connect (xmlNodePtr self,
{
xmlNodePtr field = self->xmlChildrenNode;
GstPad *pad = NULL, *targetpad;
guchar *peer = NULL;
gchar *peer = NULL;
gchar **split;
GstElement *target;
GstObject *grandparent;
......
......@@ -56,7 +56,7 @@ GstTrace *_gst_trace_default = NULL;
gint _gst_trace_on = 1;
GstTrace *
gst_trace_new (guchar * filename, gint size)
gst_trace_new (gchar * filename, gint size)
{
GstTrace *trace = g_malloc (sizeof (GstTrace));
......
......@@ -51,7 +51,7 @@ struct _GstTraceEntry {
gchar message[112];
};
GstTrace* gst_trace_new (guchar *filename, gint size);
GstTrace* gst_trace_new (gchar *filename, gint size);
void gst_trace_destroy (GstTrace *trace);
void gst_trace_flush (GstTrace *trace);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment