--- src/gui/debugger/dbg_heap.c.orig	2012-05-11 11:03:32.000000000 +0200
+++ src/gui/debugger/dbg_heap.c	2012-05-11 11:03:55.000000000 +0200
@@ -171,7 +171,7 @@
 		gtk_window_iconify(GTK_WINDOW(dbgw.heap));
 #endif
 
-	if(!GTK_WIDGET_VISIBLE(dbgw.heap) && !options3.heap.closed)
+	if(!gtk_widget_get_visible(dbgw.heap) && !options3.heap.closed)
 		gtk_widget_show(dbgw.heap);
 
 	return dbgw.heap;
@@ -277,3 +277,4 @@
 {
 	dbgmem_add_tab(value);
 }
+