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

@@ -51,7 +51,7 @@ static void DrawFrame( GtkWidget *widget, int x, int y, int w, int h )
gdk_gc_set_function( gc, GDK_INVERT );
gdk_draw_rectangle( GDK_ROOT_PARENT(), gc, FALSE, x, y, w, h );
gdk_gc_unref( gc );
g_object_unref (G_OBJECT (gc));
}
//-----------------------------------------------------------------------------
@@ -92,7 +92,7 @@ static void gtk_window_own_expose_callback( GtkWidget *widget, GdkEventExpose *g
3,
win->m_width - 7,
height+1 );
gdk_gc_unref( gc );
g_object_unref (G_OBJECT (gc));
// Hack alert
dc.m_window = pizza->bin_window;