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:
Mart Raudsepp
2006-04-04 14:26:57 +00:00
parent 5c763f5a23
commit 5e4bf05abd
4 changed files with 17 additions and 17 deletions

View File

@@ -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));
}