[cheese] camera: fix a shameful pointless g_return_if_fail
- From: Filippo Argiolas <fargiolas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] camera: fix a shameful pointless g_return_if_fail
- Date: Tue, 23 Feb 2010 13:56:36 +0000 (UTC)
commit 8edc4c734a27bbe3de2114e57d4d11bb35899150
Author: Filippo Argiolas <filippo argiolas gmail com>
Date: Tue Feb 23 14:54:35 2010 +0100
camera: fix a shameful pointless g_return_if_fail
Sorry
libcheese/cheese-camera.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 4bf7957..5bdaa5e 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -1246,7 +1246,7 @@ cheese_camera_set_video_format (CheeseCamera *camera, CheeseVideoFormat *format)
{
CheeseCameraPrivate *priv;
g_return_if_fail (CHEESE_IS_CAMERA (camera));
- g_return_if_fail (format == NULL);
+ g_return_if_fail (format != NULL);
priv = CHEESE_CAMERA_GET_PRIVATE (camera);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]