aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-icon-stream.h
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 /mail/em-icon-stream.h
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 'mail/em-icon-stream.h')
-rw-r--r--mail/em-icon-stream.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-icon-stream.h b/mail/em-icon-stream.h
index 321e0cacae..24f4acedc1 100644
--- a/mail/em-icon-stream.h
+++ b/mail/em-icon-stream.h
@@ -41,11 +41,11 @@ struct _GtkIconStream;
typedef struct _EMIconStream {
EMSyncStream sync;
- unsigned int width, height;
+ guint width, height;
guint destroy_id;
struct _GdkPixbufLoader *loader;
struct _GtkImage *image;
- char *key;
+ gchar *key;
guint keep:1;
} EMIconStream;
@@ -55,10 +55,10 @@ typedef struct {
} EMIconStreamClass;
CamelType em_icon_stream_get_type (void);
-CamelStream *em_icon_stream_new(GtkImage *image, const char *key, unsigned int maxwidth, unsigned int maxheight, int keep);
+CamelStream *em_icon_stream_new(GtkImage *image, const gchar *key, guint maxwidth, guint maxheight, gint keep);
-struct _GdkPixbuf *em_icon_stream_get_image(const char *key, unsigned int maxwidth, unsigned int maxheight);
-int em_icon_stream_is_resized(const char *key, unsigned int maxwidth, unsigned int maxheight);
+struct _GdkPixbuf *em_icon_stream_get_image(const gchar *key, guint maxwidth, guint maxheight);
+gint em_icon_stream_is_resized(const gchar *key, guint maxwidth, guint maxheight);
void em_icon_stream_clear_cache(void);