aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-icon-stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-icon-stream.h')
-rw-r--r--mail/em-icon-stream.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/em-icon-stream.h b/mail/em-icon-stream.h
index 124259b3df..4b048f3428 100644
--- a/mail/em-icon-stream.h
+++ b/mail/em-icon-stream.h
@@ -46,6 +46,8 @@ typedef struct _EMIconStream {
struct _GdkPixbufLoader *loader;
struct _GtkImage *image;
char *key;
+
+ int keep:1;
} EMIconStream;
typedef struct {
@@ -53,9 +55,11 @@ 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);
+
+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);
-CamelStream *em_icon_stream_new(GtkImage *image, const char *key);
-struct _GdkPixbuf *em_icon_stream_get_image(const char *key);
void em_icon_stream_clear_cache(void);
#ifdef __cplusplus