pidgin/gtkimhtml.c

changeset 21076
bb293a21ce84
parent 20257
e52756e57259
parent 21069
fcc0f4eb692a
child 21085
dff5e0bfb8f5
equal deleted inserted replaced
20266:4529d7c0d260 21076:bb293a21ce84
3130 GList *next = l->next; 3130 GList *next = l->next;
3131 struct scalable_data *sd = l->data; 3131 struct scalable_data *sd = l->data;
3132 gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, 3132 gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer,
3133 &i, sd->mark); 3133 &i, sd->mark);
3134 if (gtk_text_iter_in_range(&i, start, end)) { 3134 if (gtk_text_iter_in_range(&i, start, end)) {
3135 GtkIMHtmlScalable *scale = sd->scalable; 3135 GtkIMHtmlScalable *scale = GTK_IMHTML_SCALABLE(sd->scalable);
3136 scale->free(scale); 3136 scale->free(scale);
3137 imhtml->scalables = g_list_remove_link(imhtml->scalables, l); 3137 g_free(sd);
3138 imhtml->scalables = g_list_delete_link(imhtml->scalables, l);
3138 } 3139 }
3139 l = next; 3140 l = next;
3140 } 3141 }
3141 3142
3142 sl = imhtml->im_images; 3143 sl = imhtml->im_images;

mercurial