- GdkBitmap *mask = (GdkBitmap *) NULL;
- if (m_bmpStatic.GetMask())
- mask = m_bmpStatic.GetMask()->GetBitmap();
-
- if (m_bmpStatic.HasPixbuf())
- {
- gtk_image_set_from_pixbuf(GTK_IMAGE(m_widget),
- m_bmpStatic.GetPixbuf());
- }
- else
- {
- gtk_image_set_from_pixmap(GTK_IMAGE(m_widget),
- m_bmpStatic.GetPixmap(), mask);
- }
+ gtk_image_set_from_pixbuf(GTK_IMAGE(m_widget),
+ m_bmpStaticReal.GetPixbuf());