--- gtk/gtkglwidget.c	2004-02-20 09:38:36.000000000 +0000
+++ ../gtkglext-1.2.0-new/gtk/gtkglwidget.c	2010-03-02 18:30:39.579463301 +0000
@@ -174,7 +174,7 @@
    */
 
   toplevel = gtk_widget_get_toplevel (widget);
-  if (GTK_WIDGET_TOPLEVEL (toplevel) && !GTK_WIDGET_REALIZED (toplevel))
+  if (gtk_widget_is_toplevel (toplevel) && !GTK_WIDGET_REALIZED (toplevel))
     {
       GTK_GL_NOTE (MISC,
         g_message (" - Install colormap to the top-level window."));
