diff src/gtkimhtml.c @ 10524:98daaf2f3209

[gaim-migrate @ 11841] This was never a function I liked, and since nothing in gaim uses it and the only plugin that I know used it (extprefs) doesn't use it anymore I'm getting rid of it. If anyone knows anything still using this I'd suggest pointing them at extprefs for how to correctly do what they want to. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 18 Jan 2005 05:35:33 +0000
parents e8b160971254
children ddea15f4cbc2
line wrap: on
line diff
--- a/src/gtkimhtml.c	Tue Jan 18 02:16:48 2005 +0000
+++ b/src/gtkimhtml.c	Tue Jan 18 05:35:33 2005 +0000
@@ -3170,26 +3170,6 @@
 
 }
 
-void gtk_imhtml_font_zoom(GtkIMHtml *imhtml, double zoom)
-{
-	GtkRcStyle *s;
-	PangoFontDescription *font_desc = pango_font_description_new();
-
-	imhtml->zoom = zoom;
-
-	if (!imhtml->original_fsize)
-		_init_original_fsize(imhtml);
-
-	gtk_text_tag_table_foreach(gtk_text_buffer_get_tag_table(imhtml->text_buffer),
-	                           _recalculate_font_sizes, imhtml);
-
-	pango_font_description_set_size(font_desc, (gint)((double) imhtml->original_fsize * zoom));
-
-	s = gtk_widget_get_modifier_style(GTK_WIDGET(imhtml));
-	s->font_desc = font_desc;
-	gtk_widget_modify_style(GTK_WIDGET(imhtml), s);
-}
-
 static GtkTextTag *find_font_size_tag(GtkIMHtml *imhtml, int size)
 {
 	gchar str[24];