| 7885 |
7878 |
| 7886 static void |
7879 static void |
| 7887 spellcheck_pref_cb(const char *name, PurplePrefType type, |
7880 spellcheck_pref_cb(const char *name, PurplePrefType type, |
| 7888 gconstpointer value, gpointer data) |
7881 gconstpointer value, gpointer data) |
| 7889 { |
7882 { |
| 7890 #ifdef USE_GTKSPELL |
|
| 7891 GList *cl; |
7883 GList *cl; |
| 7892 PurpleConversation *conv; |
7884 PurpleConversation *conv; |
| 7893 PidginConversation *gtkconv; |
7885 PidginConversation *gtkconv; |
| 7894 |
7886 |
| 7895 for (cl = purple_get_conversations(); cl != NULL; cl = cl->next) { |
7887 for (cl = purple_get_conversations(); cl != NULL; cl = cl->next) { |
| 7899 if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv)) |
7891 if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv)) |
| 7900 continue; |
7892 continue; |
| 7901 |
7893 |
| 7902 gtkconv = PIDGIN_CONVERSATION(conv); |
7894 gtkconv = PIDGIN_CONVERSATION(conv); |
| 7903 |
7895 |
| 7904 pidgin_webview_set_spellcheck(GTK_WEBVIEW(gtkconv->entry), value); |
7896 pidgin_webview_set_spellcheck(GTK_WEBVIEW(gtkconv->entry), |
| 7905 } |
7897 (gboolean)GPOINTER_TO_INT(value)); |
| 7906 #endif |
7898 } |
| 7907 } |
7899 } |
| 7908 |
7900 |
| 7909 static void |
7901 static void |
| 7910 tab_side_pref_cb(const char *name, PurplePrefType type, |
7902 tab_side_pref_cb(const char *name, PurplePrefType type, |
| 7911 gconstpointer value, gpointer data) |
7903 gconstpointer value, gpointer data) |