- GtkWidget *pixmap = gtk_pixmap_new(m_bitmap.GetPixmap(), mask);
- gtk_widget_show(pixmap);
- gtk_container_add(GTK_CONTAINER(m_widget), pixmap);
+ image = gtk_image_new_from_pixbuf(m_bitmap.GetPixbuf());
+ gtk_widget_show(image);
+ gtk_container_add((GtkContainer*)m_widget, image);