X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3e89a9370cf895877feb84820c26bdc2e6ed588..66493fc767015fc3d3d7c5417f8e5574ccf93742:/src/gtk/bitmap.cpp?ds=sidebyside diff --git a/src/gtk/bitmap.cpp b/src/gtk/bitmap.cpp index d459bdbce7..522e383b89 100644 --- a/src/gtk/bitmap.cpp +++ b/src/gtk/bitmap.cpp @@ -997,9 +997,6 @@ void wxBitmap::SetPixbuf(GdkPixbuf* pixbuf, int depth) void wxBitmap::PurgeOtherRepresentations(wxBitmap::Representation keep) { - // AllocExclusive should not be needed for this internal function - wxASSERT(m_refData->GetRefCount() == 1); - if (keep == Pixmap && HasPixbuf()) { g_object_unref (M_BMPDATA->m_pixbuf);