gst/gstbus.c: When no GSource callback has been set up, tell developer to use a function that actually exists.

Original commit message from CVS:
* gst/gstbus.c:
When no GSource callback has been set up, tell developer
to use a function that actually exists.
This commit is contained in:
Tim-Philipp Müller 2007-10-19 09:48:38 +00:00
parent 58a155347b
commit 81a3de7036
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstbus.c:
When no GSource callback has been set up, tell developer
to use a function that actually exists.
2007-10-17 Stefan Kost <ensonic@users.sf.net> 2007-10-17 Stefan Kost <ensonic@users.sf.net>
* docs/gst/gstreamer-sections.txt: * docs/gst/gstreamer-sections.txt:

View file

@ -786,7 +786,7 @@ gst_bus_source_dispatch (GSource * source, GSourceFunc callback,
no_handler: no_handler:
{ {
g_warning ("GstBus watch dispatched without callback\n" g_warning ("GstBus watch dispatched without callback\n"
"You must call g_source_connect()."); "You must call g_source_set_callback().");
gst_message_unref (message); gst_message_unref (message);
return FALSE; return FALSE;
} }