- // initial bitmap
- GtkWidget *pixmap =
- gtk_image_new_from_pixbuf(the_one.GetPixbuf());
-
- gtk_widget_show(pixmap);
- gtk_container_add(GTK_CONTAINER(m_widget), pixmap);
- }
- else
- { // subsequent bitmaps
- GtkImage *pixmap = GTK_IMAGE(child);
- gtk_image_set_from_pixbuf(pixmap, the_one.GetPixbuf());
+ image = gtk_image_new();
+ gtk_widget_show(image);
+ gtk_container_add(GTK_CONTAINER(m_widget), image);