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

@@ -290,8 +290,8 @@ bool wxMiniFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title
);
GtkWidget *pw = gtk_pixmap_new( pixmap, mask );
gdk_drawable_unref( mask );
gdk_drawable_unref( pixmap );
g_object_unref (G_OBJECT (mask));
g_object_unref (G_OBJECT (pixmap));
gtk_widget_show( pw );
GtkWidget *close_button = gtk_button_new();