diff src/gtkimhtml.c @ 9696:a57fa78e5752

[gaim-migrate @ 10555] gtk 2.0 fixes from nosnilmot committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 07 Aug 2004 03:22:47 +0000
parents 53e3c74b3628
children d6292978a704
line wrap: on
line diff
--- a/src/gtkimhtml.c	Fri Aug 06 04:30:45 2004 +0000
+++ b/src/gtkimhtml.c	Sat Aug 07 03:22:47 2004 +0000
@@ -2402,6 +2402,9 @@
 							font->face = g_strdup(oldfont->face);
 						if (font->face && (atoi(font->face) > 100)) {
 							/* WTF is this? */
+							/* Maybe it sets a max size on the font face?  I seem to 
+							 * remember bad things happening if the font size was 
+							 * 2 billion */
 							g_free(font->face);
 							font->face = g_strdup("100");
 						}
@@ -2748,7 +2751,6 @@
 #if GTK_CHECK_VERSION(2,2,0)
 	GSList *formats = gdk_pixbuf_get_formats();
 #else
-	GtkIMHtmlImage *image = g_object_get_data(G_OBJECT(sel), "GtkIMHtmlImage");
 	char *basename = g_path_get_basename(filename);
 	char *ext = strrchr(basename, '.');
 #endif