# HG changeset patch # User Mark Doliner # Date 1078011200 0 # Node ID 0e05e094e3711b907d0f4557d5be28275429a2a3 # Parent faf86e506ebe04c9808c5948a3252987e602007b [gaim-migrate @ 9090] Seaaaannnnnnn, I fall down go boom. You make better? committer: Tailor Script diff -r faf86e506ebe -r 0e05e094e371 src/gtkimhtml.c --- a/src/gtkimhtml.c Sat Feb 28 22:59:10 2004 +0000 +++ b/src/gtkimhtml.c Sat Feb 28 23:33:20 2004 +0000 @@ -2810,6 +2810,20 @@ str = g_string_append(str, sspan->start_tag); closers = g_list_insert_sorted(closers, sspan, (GCompareFunc)span_compare_end); espan = (GtkIMHtmlFormatSpan*)closers->data; + /* + * When sending an IM, the following line causes the following warning: + * Gtk: file gtktextbuffer.c: line 1794 + * (gtk_text_buffer_get_iter_at_mark): assertion `GTK_IS_TEXT_MARK (mark)' failed + * + * The callback path thingy to get here is: + * gtkconv.c, send(), "buf = gtk_imhtml_get_markup(GTK_IMHTML(gtkconv->entry));" + * gtkimhtml.c, gtk_imthml_get_markup(), "return gtk_imhtml_get_markup_range(imhtml, &start, &end);" + * + * I don't really know anything about gtkimhtml, but it almost seems like + * the line above this comments expects to find a closing html tag, but + * can't, for some reason. The warning depends on how much HTML I send + * in my message, kind of. + */ gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &eiter, espan->end); } sspan = (GtkIMHtmlFormatSpan*)starters->data;