comparison src/gtkimhtml.c @ 10165:5c3b27763126

[gaim-migrate @ 11251] Remove some code left-over from some prefs we removed. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 09 Nov 2004 05:41:41 +0000
parents 4d484e455839
children a0529cf29ad4
comparison
equal deleted inserted replaced
10164:3f71f7282dbf 10165:5c3b27763126
2630 gboolean show) 2630 gboolean show)
2631 { 2631 {
2632 imhtml->show_comments = show; 2632 imhtml->show_comments = show;
2633 } 2633 }
2634 2634
2635 void gtk_imhtml_html_shortcuts (GtkIMHtml *imhtml,
2636 gboolean allow)
2637 {
2638 imhtml->html_shortcuts = allow;
2639 }
2640
2641 void gtk_imhtml_smiley_shortcuts (GtkIMHtml *imhtml,
2642 gboolean allow)
2643 {
2644 imhtml->smiley_shortcuts = allow;
2645 }
2646
2647 void 2635 void
2648 gtk_imhtml_set_protocol_name(GtkIMHtml *imhtml, const gchar *protocol_name) { 2636 gtk_imhtml_set_protocol_name(GtkIMHtml *imhtml, const gchar *protocol_name) {
2649 if (imhtml->protocol_name) 2637 if (imhtml->protocol_name)
2650 g_free(imhtml->protocol_name); 2638 g_free(imhtml->protocol_name);
2651 imhtml->protocol_name = protocol_name ? g_strdup(protocol_name) : NULL; 2639 imhtml->protocol_name = protocol_name ? g_strdup(protocol_name) : NULL;