data, mask, fg->GetColor(), bg->GetColor(),
hotSpotX, hotSpotY );
- g_object_unref (G_OBJECT (data));
- g_object_unref (G_OBJECT (mask));
+ g_object_unref (data);
+ g_object_unref (mask);
}
#if wxUSE_IMAGE
hotSpotX, hotSpotY
);
- g_object_unref (G_OBJECT (data));
- g_object_unref (G_OBJECT (mask));
+ g_object_unref (data);
+ g_object_unref (mask);
delete [] bits;
delete [] maskBits;
}