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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user