gdk_gc_unref -> g_object_unref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -390,7 +390,7 @@ static void draw_frame( GtkWidget *widget, wxWindowGTK *win )
|
||||
gdk_draw_rectangle( widget->window, gc, FALSE,
|
||||
dx, dy,
|
||||
widget->allocation.width-dw-1, widget->allocation.height-dh-1 );
|
||||
gdk_gc_unref( gc );
|
||||
g_object_unref (G_OBJECT (gc);
|
||||
return;
|
||||
}
|
||||
#endif // __WXUNIVERSAL__
|
||||
@@ -4427,5 +4427,5 @@ bool wxWinModule::OnInit()
|
||||
void wxWinModule::OnExit()
|
||||
{
|
||||
if (g_eraseGC)
|
||||
gdk_gc_unref( g_eraseGC );
|
||||
g_object_unref (G_OBJECT (g_eraseGC));
|
||||
}
|
||||
|
Reference in New Issue
Block a user