From a305abdfe054c5ef5e472d2d99723b4032308b1d Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 8 Mar 2005 11:06:12 +0000 Subject: also resize inline images. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@155 ee746299-78ed-0310-b773-934348b2243d --- src/imageview.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/imageview.h') diff --git a/src/imageview.h b/src/imageview.h index 52269e3e..19146e7d 100644 --- a/src/imageview.h +++ b/src/imageview.h @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2004 Hiroyuki Yamamoto + * Copyright (C) 1999-2005 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ #include #include +#include typedef struct _ImageView ImageView; @@ -49,4 +50,8 @@ void imageview_show_image (ImageView *imageview, void imageview_clear (ImageView *imageview); void imageview_destroy (ImageView *imageview); +GdkPixbuf *imageview_get_resized_pixbuf (GdkPixbuf *pixbuf, + GtkWidget *parent, + gint margin); + #endif /* __IMAGEVIEW_H__ */ -- cgit v1.2.3