Original commit message from CVS:
2005-08-19 Andy Wingo <wingo@pobox.com>
* gst/interfaces.override (_wrap_gst_tuner_list_channels)
(_wrap_gst_tuner_list_norms, _wrap_gst_mixer_list_tracks)
(_wrap_gst_color_balance_list_channels): Catch programming errors
without segfaults, as glib would do.
+2005-08-19 Andy Wingo <wingo@pobox.com>
+
+ * gst/interfaces.override (_wrap_gst_tuner_list_channels)
+ (_wrap_gst_tuner_list_norms, _wrap_gst_mixer_list_tracks)
+ (_wrap_gst_color_balance_list_channels): Catch programming errors
+ without segfaults, as glib would do.
+
2005-08-18 Andy Wingo <wingo@pobox.com>
* examples/debug-slider.py: New file.
const GList *l, *list;
PyObject *py_list;
+ g_return_val_if_fail (GST_IS_TUNER (self->obj), PyList_New(0));
+
list = gst_tuner_list_channels(GST_TUNER(self->obj));
py_list = PyList_New(0);
const GList *l, *list;
PyObject *py_list;
+ g_return_val_if_fail (GST_IS_TUNER (self->obj), PyList_New(0));
+
list = gst_tuner_list_norms(GST_TUNER(self->obj));
py_list = PyList_New(0);
const GList *l, *list;
PyObject *py_list;
+ g_return_val_if_fail (GST_IS_MIXER (self->obj), PyList_New(0));
+
list = gst_mixer_list_tracks(GST_MIXER(self->obj));
py_list = PyList_New(0);
const GList *l, *list;
PyObject *py_list;
+ g_return_val_if_fail (GST_IS_COLOR_BALANCE (self->obj), PyList_New(0));
+
list = gst_color_balance_list_channels(GST_COLOR_BALANCE(self->obj));
py_list = PyList_New(0);