diff src/gtkimhtml.h @ 5012:3ee1b1409660

[gaim-migrate @ 5348] javabsp let us save IM images, and I plugged a few memory leaks committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 05 Apr 2003 01:45:13 +0000
parents 24c9a23df63b
children 4691c5936c01
line wrap: on
line diff
--- a/src/gtkimhtml.h	Sat Apr 05 01:41:14 2003 +0000
+++ b/src/gtkimhtml.h	Sat Apr 05 01:45:13 2003 +0000
@@ -25,6 +25,7 @@
 #include <gdk/gdk.h>
 #include <gtk/gtktextview.h>
 #include <gtk/gtktooltips.h>
+#include <gtk/gtkimage.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -134,9 +135,9 @@
 
 typedef struct {
 	GtkIMHtmlScalable scalable;
-	GdkPixbuf *image;
-	GtkIMHtml *imhtml;
+	GtkImage *image;
 	GtkTextMark *mark;
+	gchar *filename;
 	int width;
 	int height;
 } gaim_im_image;
@@ -148,7 +149,7 @@
 
 GtkIMHtmlScalable *gtk_imhtml_scalable_new();
 
-GtkIMHtmlScalable *gaim_im_image_new(GdkPixbuf *img);
+GtkIMHtmlScalable *gaim_im_image_new(GdkPixbuf *img, gchar *filename);
 
 void gaim_im_image_free(GtkIMHtmlScalable *);