diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-08-31 13:23:46 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-08-31 13:23:46 +0800 |
commit | 9ea10deea3b27d7bde1b82792cae76b99b5610f6 (patch) | |
tree | 0ca0584e525ab8ff7e1e24ec61437406dcbcf5d4 /widgets/misc/e-cursors.c | |
parent | 095302aef20099e51739209a4e4229379da85047 (diff) | |
download | gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar.gz gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar.bz2 gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar.lz gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar.xz gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar.zst gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.zip |
Move away from g_asserts from g_return*.
svn path=/trunk/; revision=34142
Diffstat (limited to 'widgets/misc/e-cursors.c')
-rw-r--r-- | widgets/misc/e-cursors.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/misc/e-cursors.c b/widgets/misc/e-cursors.c index 07587cabb3..550b746ad0 100644 --- a/widgets/misc/e-cursors.c +++ b/widgets/misc/e-cursors.c @@ -72,9 +72,9 @@ create_bitmap_and_mask_from_xpm (GdkBitmap **bitmap, GdkBitmap **mask, gchar **x sscanf (xpm [0], "%d %d %d %d", &height, &width, &colors, &pix); - g_assert (height == 32); - g_assert (width == 32); - g_assert (colors <= 3); + g_return_if_fail (height == 32); + g_return_if_fail (width == 32); + g_return_if_fail (colors <= 3); transparent_color = ' '; black_color = '.'; @@ -134,7 +134,7 @@ e_cursors_init (void) } } - g_assert (i == E_CURSOR_NUM_CURSORS); + g_return_if_fail (i == E_CURSOR_NUM_CURSORS); } void |