diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 11:07:23 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 11:07:23 +0800 |
commit | 04a042ee01dba30ba231c48ec7d172b6be1a6fca (patch) | |
tree | 080e3ad2fe16da7e3fb057e1baa0b3734a4e4d2f /widgets/misc/e-cursors.c | |
parent | a6c9a55391c484038a98f0326798949c52621c50 (diff) | |
download | gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.gz gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.bz2 gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.lz gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.xz gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.zst gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.zip |
Fix compiler warnings in widgets.
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 ac03e18e70..f0b9ca6843 100644 --- a/widgets/misc/e-cursors.c +++ b/widgets/misc/e-cursors.c @@ -39,8 +39,8 @@ typedef struct { GdkCursor *cursor; - int hot_x, hot_y; - char **xpm; + gint hot_x, hot_y; + const gchar **xpm; } CursorDef; static CursorDef cursors [] = { @@ -63,7 +63,7 @@ static CursorDef cursors [] = { static void -create_bitmap_and_mask_from_xpm (GdkBitmap **bitmap, GdkBitmap **mask, gchar **xpm) +create_bitmap_and_mask_from_xpm (GdkBitmap **bitmap, GdkBitmap **mask, const gchar **xpm) { int height, width, colors; char pixmap_buffer [(32 * 32)/8]; @@ -155,7 +155,7 @@ e_cursors_shutdown (void) GdkCursor * e_cursor_get (ECursorType type) { - g_return_val_if_fail (type >= 0 && type < E_CURSOR_NUM_CURSORS, NULL); + g_return_val_if_fail (type < E_CURSOR_NUM_CURSORS, NULL); return cursors [type].cursor; } |