comparison src/gtkimhtml.c @ 11299:421007f39e53

[gaim-migrate @ 13499] Fix a C99ism. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 18 Aug 2005 06:33:33 +0000
parents 17ebda61c6ce
children a74244102c0a
comparison
equal deleted inserted replaced
11298:e26b3f52b6f2 11299:421007f39e53
4376 } 4376 }
4377 4377
4378 } 4378 }
4379 4379
4380 if (pixbuf) { 4380 if (pixbuf) {
4381 struct im_image_data *t = g_new(struct im_image_data, 1);
4381 filename = imhtml->funcs->image_get_filename(image); 4382 filename = imhtml->funcs->image_get_filename(image);
4382 imhtml->funcs->image_ref(id); 4383 imhtml->funcs->image_ref(id);
4383 struct im_image_data *t = g_new(struct im_image_data, 1);
4384 t->id = id; 4384 t->id = id;
4385 t->mark = gtk_text_buffer_create_mark(imhtml->text_buffer, NULL, iter, TRUE); 4385 t->mark = gtk_text_buffer_create_mark(imhtml->text_buffer, NULL, iter, TRUE);
4386 imhtml->im_images = g_slist_prepend(imhtml->im_images, t); 4386 imhtml->im_images = g_slist_prepend(imhtml->im_images, t);
4387 } else { 4387 } else {
4388 pixbuf = gtk_widget_render_icon(GTK_WIDGET(imhtml), GTK_STOCK_MISSING_IMAGE, 4388 pixbuf = gtk_widget_render_icon(GTK_WIDGET(imhtml), GTK_STOCK_MISSING_IMAGE,