gst/gstpad.override (handle_event_function_exception)

Original commit message from CVS:
2005-12-16  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.override (handle_event_function_exception)
(handle_chain_function_exception): GCC told me I needed braces
here.
This commit is contained in:
Andy Wingo 2005-12-16 14:47:12 +00:00
parent c45f28f872
commit 1374aac3fa
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-12-16 Andy Wingo <wingo@pobox.com>
* gst/gstpad.override (handle_event_function_exception)
(handle_chain_function_exception): GCC told me I needed braces
here.
2005-12-14 Thomas Vander Stichele <thomas at apestaart dot org>
* Makefile.am:

View file

@ -255,8 +255,9 @@ handle_chain_function_exception (GValue *ret, guint n, const GValue *params)
{
GstElement *element = GST_ELEMENT (gst_object_get_parent (g_value_get_object (&params[0])));
if (!_pygst_element_check_error (element))
if (!_pygst_element_check_error (element)) {
g_assert_not_reached (); /* only returns FALSE when there's no error */
}
}
static GstFlowReturn
@ -305,8 +306,9 @@ handle_event_function_exception (GValue *ret, guint n, const GValue *params)
{
GstElement *element = GST_ELEMENT (gst_pad_get_parent (g_value_get_object (&params[0])));
if (!_pygst_element_check_error (element))
if (!_pygst_element_check_error (element)) {
g_assert_not_reached (); /* only returns FALSE when there's no error */
}
}
static gboolean