comparison src/gtkimhtml.c @ 8149:eb2a420060f8

[gaim-migrate @ 8860] Aw, it's awesome, Jellyman. Little dudes are just eggs, leave 'em on the beach to hatch, then coo-coo-ca-choo, they find their way back to the big ol' blue. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 20 Jan 2004 13:42:48 +0000
parents c06b233aa84d
children 4e68644a47f6
comparison
equal deleted inserted replaced
8148:c06b233aa84d 8149:eb2a420060f8
380 gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &start, sel); 380 gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &start, sel);
381 gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &end, ins); 381 gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &end, ins);
382 382
383 383
384 if (info == TARGET_HTML) { 384 if (info == TARGET_HTML) {
385 int len;
385 char *selection; 386 char *selection;
386 int len;
387 GString *str = g_string_new(NULL); 387 GString *str = g_string_new(NULL);
388 text = gtk_imhtml_get_markup_range(imhtml, &start, &end); 388 text = gtk_imhtml_get_markup_range(imhtml, &start, &end);
389 389
390 /* Mozilla asks that we start our text/html with the Unicode byte order mark */ 390 /* Mozilla asks that we start our text/html with the Unicode byte order mark */
391 str = g_string_append_unichar(str, 0xfeff); 391 str = g_string_append_unichar(str, 0xfeff);