$NetBSD: patch-aa,v 1.5 2006/12/07 13:15:04 minskim Exp $ http://bugzilla.gnome.org/show_bug.cgi?id=382925 --- gail/gailwindow.c.orig 2006-09-12 10:40:48.000000000 -0700 +++ gail/gailwindow.c @@ -1071,6 +1071,24 @@ gail_window_get_mdi_zorder (AtkComponent return 0; /* Punt, FIXME */ } +#elif defined (GDK_WINDOWING_QUARTZ) + +static gint +gail_window_get_mdi_zorder (AtkComponent *component) +{ + GtkWidget *widget = GTK_ACCESSIBLE (component)->widget; + + if (widget == NULL) + /* + * State is defunct + */ + return -1; + + gail_return_val_if_fail (GTK_IS_WINDOW (widget), -1); + + return 0; /* Punt, FIXME */ +} + #else #error Port to this GDK backend #endif