From: Wim Taymans Date: Sun, 28 Jul 2002 01:04:33 +0000 (+0000) Subject: Turn some g_prints into g_warnings as that's what they really are X-Git-Tag: BRANCH-RELEASE-0_4_1-ROOT~123 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1975b199d26b1b1194ce9a5ab7c9299f2e8ff707;p=platform%2Fupstream%2Fgstreamer.git Turn some g_prints into g_warnings as that's what they really are Original commit message from CVS: Turn some g_prints into g_warnings as that's what they really are --- diff --git a/gst/cothreads.c b/gst/cothreads.c index 5a32c6d..1d27ad3 100644 --- a/gst/cothreads.c +++ b/gst/cothreads.c @@ -605,17 +605,17 @@ cothread_switch (cothread_state * thread) #ifdef COTHREAD_PARANOID nothread: - g_print ("cothread: can't switch to NULL cothread!\n"); + g_warning ("cothread: can't switch to NULL cothread!\n"); return; nocontext: - g_print ("cothread: there's no context, help!\n"); + g_warning ("cothread: there's no context, help!\n"); exit (2); nocurrent: - g_print ("cothread: there's no current thread, help!\n"); + g_warning ("cothread: there's no current thread, help!\n"); exit (2); #endif /* COTHREAD_PARANOID */ selfswitch: - g_print ("cothread: trying to switch to same thread, legal but not necessary\n"); + g_warning ("cothread: trying to switch to same thread, legal but not necessary\n"); return; } diff --git a/gst/gstprops.c b/gst/gstprops.c index 513bdc7..e12c3c5 100644 --- a/gst/gstprops.c +++ b/gst/gstprops.c @@ -667,7 +667,7 @@ gst_props_set (GstProps *props, const gchar *name, ...) va_end (var_args); } else { - g_print("gstprops: no property '%s' to change\n", name); + g_warning ("gstprops: no property '%s' to change\n", name); } return props;