And gdk_drawable_unref is in turn deprecated in favor of g_object_unref

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2006-04-04 14:06:00 +00:00
parent f368b5b9ab
commit f5af73080a
4 changed files with 16 additions and 16 deletions

View File

@@ -144,8 +144,8 @@ wxCursor::wxCursor(const char bits[], int width, int height,
data, mask, fg->GetColor(), bg->GetColor(),
hotSpotX, hotSpotY );
gdk_drawable_unref( data );
gdk_drawable_unref( mask );
g_object_unref (G_OBJECT (data));
g_object_unref (G_OBJECT (mask));
}
#if wxUSE_IMAGE
@@ -296,8 +296,8 @@ wxCursor::wxCursor( const wxImage & image )
hotSpotX, hotSpotY
);
gdk_drawable_unref( data );
gdk_drawable_unref( mask );
g_object_unref (G_OBJECT (data));
g_object_unref (G_OBJECT (mask));
delete [] bits;
delete [] maskBits;
}