comparison src/gtkspell.c @ 1415:3dfd2a83fb5e

[gaim-migrate @ 1425] woo hoo committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 19 Jan 2001 09:11:16 +0000
parents ccfa5d52e4df
children 7f7857c5036e
comparison
equal deleted inserted replaced
1414:ebfde8fc7e73 1415:3dfd2a83fb5e
109 } 109 }
110 110
111 111
112 void gtkspell_stop() { 112 void gtkspell_stop() {
113 if (gtkspell_running()) { 113 if (gtkspell_running()) {
114 kill(spell_pid, SIGHUP); /* FIXME: is this the correct signal? */ 114 kill(spell_pid, SIGHUP);
115 /* note by EWarmenhoven: no. (was SIGQUIT, is now SIGHUP) */
116 } 115 }
117 } 116 }
118 117
119 int gtkspell_start(char *path, char * args[]) { 118 int gtkspell_start(char *path, char * args[]) {
120 int fd_error[2]; 119 int fd_error[2];
324 gtk_text_insert(gtktext, NULL, color, NULL, newtext, end-start); 323 gtk_text_insert(gtktext, NULL, color, NULL, newtext, end-start);
325 324
326 gtk_signal_handler_unblock_by_func(GTK_OBJECT(gtktext), 325 gtk_signal_handler_unblock_by_func(GTK_OBJECT(gtktext),
327 GTK_SIGNAL_FUNC(entry_insert_cb), NULL); 326 GTK_SIGNAL_FUNC(entry_insert_cb), NULL);
328 gtk_text_thaw(gtktext); 327 gtk_text_thaw(gtktext);
328 g_free(newtext);
329 } 329 }
330 330
331 static gboolean check_at(GtkText *gtktext, int from_pos) { 331 static gboolean check_at(GtkText *gtktext, int from_pos) {
332 int start, end; 332 int start, end;
333 char buf[BUFSIZE]; 333 char buf[BUFSIZE];