From: Sean E. <sea...@us...> - 2003-01-21 00:07:02
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1:/tmp/cvs-serv19401/src Modified Files: dialogs.c gtkimhtml.c gtkimhtml.h Log Message: Removing the img handler stuff that used to be used in the profiles. Index: dialogs.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/dialogs.c,v retrieving revision 1.412 retrieving revision 1.413 diff -u -d -r1.412 -r1.413 --- dialogs.c 20 Jan 2003 09:10:01 -0000 1.412 +++ dialogs.c 21 Jan 2003 00:06:57 -0000 1.413 @@ -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); Index: gtkimhtml.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkimhtml.c,v retrieving revision 1.143 retrieving revision 1.144 diff -u -d -r1.143 -r1.144 --- gtkimhtml.c 19 Jan 2003 03:29:00 -0000 1.143 +++ gtkimhtml.c 21 Jan 2003 00:06:58 -0000 1.144 @@ -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); Index: gtkimhtml.h =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkimhtml.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- gtkimhtml.h 9 Jan 2003 09:41:49 -0000 1.24 +++ gtkimhtml.h 21 Jan 2003 00:06:59 -0000 1.25 @@ -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); |