changeset 4371:8299114f5693

[gaim-migrate @ 4637] Removing the img handler stuff that used to be used in the profiles. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 21 Jan 2003 00:06:59 +0000
parents d856987c72ca
children 00f4fa7a93ff
files src/dialogs.c src/gtkimhtml.c src/gtkimhtml.h
diffstat 3 files changed, 0 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Mon Jan 20 22:59:40 2003 +0000
+++ b/src/dialogs.c	Tue Jan 21 00:06:59 2003 +0000
@@ -2395,25 +2395,6 @@
 	g_free(d);
 }
 
-gchar **info_img_handler(gchar *url)
-{
-	if (!g_strcasecmp(url, "free_icon.gif"))
-		return free_icon_xpm;
-	if (!g_strcasecmp(url, "aol_icon.gif"))
-		return aol_icon_xpm;
-	if (!g_strcasecmp(url, "dt_icon.gif"))
-		return dt_icon_xpm;
-	if (!g_strcasecmp(url, "admin_icon.gif"))
-		return admin_icon_xpm;
-	if (!g_strcasecmp(url, "ab_icon.gif"))
-		return ab_xpm;
-	if (!g_strcasecmp(url, "wireless_icon.gif"))
-		return wireless_icon_xpm;
-	if (!g_strcasecmp(url, "icq_icon.gif"))
-		return icon_online_xpm;
-	return NULL;
-}
-
 /* if away is 0, show regardless and try to get away message
  *            1, don't show if regular info isn't shown
  *            2, show regardless but don't try to get away message
@@ -2461,7 +2442,6 @@
 		b->text = text;
 		gtk_container_add(GTK_CONTAINER(sw), text);
 		gtk_widget_set_usize(sw, 300, 250);
-		gtk_imhtml_set_img_handler(GTK_IMHTML(text), info_img_handler);
 		gaim_setup_imhtml(text);
 
 		ok = picture_button(b->window, _("OK"), ok_xpm);
--- a/src/gtkimhtml.c	Mon Jan 20 22:59:40 2003 +0000
+++ b/src/gtkimhtml.c	Tue Jan 21 00:06:59 2003 +0000
@@ -1014,9 +1014,6 @@
 	return str;
 }
 
-void       gtk_imhtml_set_img_handler  (GtkIMHtml        *imhtml,
-	GtkIMHtmlImage    handler){}
-
 void gtk_imhtml_remove_smileys(GtkIMHtml *imhtml) 
 { 
 	g_hash_table_destroy(imhtml->smiley_data);
--- a/src/gtkimhtml.h	Mon Jan 20 22:59:40 2003 +0000
+++ b/src/gtkimhtml.h	Tue Jan 21 00:06:59 2003 +0000
@@ -89,9 +89,6 @@
 					GtkAdjustment    *hadj,
 					GtkAdjustment    *vadj);
 
-void       gtk_imhtml_set_img_handler  (GtkIMHtml        *imhtml,
-					GtkIMHtmlImage    handler);
-
 void       gtk_imhtml_associate_smiley (GtkIMHtml        *imhtml,
 					gchar            *sml,
 					GtkIMHtmlSmiley  *smiley);