aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-cursors.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 23:13:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-29 00:13:23 +0800
commitfad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (patch)
treeae78be371695c3dc18847b87d3f014f985aa3a40 /widgets/misc/e-cursors.c
parent6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff)
downloadgsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.bz2
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.lz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.xz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'widgets/misc/e-cursors.c')
-rw-r--r--widgets/misc/e-cursors.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/widgets/misc/e-cursors.c b/widgets/misc/e-cursors.c
index ebc2f9bd78..ddf5f1ac26 100644
--- a/widgets/misc/e-cursors.c
+++ b/widgets/misc/e-cursors.c
@@ -65,11 +65,11 @@ static CursorDef cursors [] = {
static void
create_bitmap_and_mask_from_xpm (GdkBitmap **bitmap, GdkBitmap **mask, const gchar **xpm)
{
- int height, width, colors;
- char pixmap_buffer [(32 * 32)/8];
- char mask_buffer [(32 * 32)/8];
- int x, y, pix, yofs;
- int transparent_color, black_color;
+ gint height, width, colors;
+ gchar pixmap_buffer [(32 * 32)/8];
+ gchar mask_buffer [(32 * 32)/8];
+ gint x, y, pix, yofs;
+ gint transparent_color, black_color;
sscanf (xpm [0], "%d %d %d %d", &height, &width, &colors, &pix);
@@ -83,7 +83,7 @@ create_bitmap_and_mask_from_xpm (GdkBitmap **bitmap, GdkBitmap **mask, const gch
yofs = colors + 1;
for (y = 0; y < 32; y++){
for (x = 0; x < 32;){
- char value = 0, maskv = 0;
+ gchar value = 0, maskv = 0;
for (pix = 0; pix < 8; pix++, x++){
if (xpm [y + yofs][x] != transparent_color){
@@ -111,7 +111,7 @@ create_bitmap_and_mask_from_xpm (GdkBitmap **bitmap, GdkBitmap **mask, const gch
void
e_cursors_init (void)
{
- int i;
+ gint i;
e_color_init ();
@@ -144,7 +144,7 @@ e_cursors_init (void)
void
e_cursors_shutdown (void)
{
- int i;
+ gint i;
for (i = 0; cursors [i].hot_x; i++)
gdk_cursor_unref (cursors [i].cursor);