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