gst-libs/gst/interfaces/xoverlay.c: More guards (we don't want klass to end up being NULL).

Original commit message from CVS:
* gst-libs/gst/interfaces/xoverlay.c: (gst_x_overlay_expose),
(gst_x_overlay_handle_events):
More guards (we don't want klass to end up being NULL).
This commit is contained in:
Tim-Philipp Müller 2007-12-15 17:27:48 +00:00
parent 248742277c
commit d23f2ae402
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-12-15 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/interfaces/xoverlay.c: (gst_x_overlay_expose),
(gst_x_overlay_handle_events):
More guards (we don't want klass to end up being NULL).
2007-12-14 Sebastian Dröge <slomo@circular-chaos.org> 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
* configure.ac: * configure.ac:

2
common

@ -1 +1 @@
Subproject commit ea5f2cfab1a164a5d285fe745343cbe0a476a904 Subproject commit a00d4c1966aab517c2694c61d580489ebcbce448

View file

@ -232,6 +232,7 @@ gst_x_overlay_expose (GstXOverlay * overlay)
GstXOverlayClass *klass; GstXOverlayClass *klass;
g_return_if_fail (overlay != NULL); g_return_if_fail (overlay != NULL);
g_return_if_fail (GST_IS_X_OVERLAY (overlay));
klass = GST_X_OVERLAY_GET_CLASS (overlay); klass = GST_X_OVERLAY_GET_CLASS (overlay);
@ -257,6 +258,7 @@ gst_x_overlay_handle_events (GstXOverlay * overlay, gboolean handle_events)
GstXOverlayClass *klass; GstXOverlayClass *klass;
g_return_if_fail (overlay != NULL); g_return_if_fail (overlay != NULL);
g_return_if_fail (GST_IS_X_OVERLAY (overlay));
klass = GST_X_OVERLAY_GET_CLASS (overlay); klass = GST_X_OVERLAY_GET_CLASS (overlay);