diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 22:29:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 22:29:19 +0800 |
commit | 948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch) | |
tree | 4133b1adfd94d8f889ca7ad4ad851346518f4171 /mail/em-icon-stream.h | |
parent | cc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff) | |
download | gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.bz2 gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.lz gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.xz gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip |
Prefer GLib basic types over C types.
Diffstat (limited to 'mail/em-icon-stream.h')
-rw-r--r-- | mail/em-icon-stream.h | 10 |
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); |