]> Pileus Git - ~andy/gtk/commitdiff
Add stub for quartz for fix build.
authorRichard Hult <richard@imendio.com>
Thu, 20 Dec 2007 12:21:51 +0000 (12:21 +0000)
committerRichard Hult <rhult@src.gnome.org>
Thu, 20 Dec 2007 12:21:51 +0000 (12:21 +0000)
2007-12-20  Richard Hult  <richard@imendio.com>

* modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
Add stub for quartz for fix build.

svn path=/trunk/; revision=19204

ChangeLog
modules/other/gail/gailwindow.c

index b69cc5b40ddb98ea0383342814ca6982d50240de..02f78bc3b03a5a2a063af49d4a0c7ab74bcab854 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-20  Richard Hult  <richard@imendio.com>
+
+       * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
+       Add stub for quartz for fix build.
+
 2007-12-20  Christian Persch  <chpe@gnome.org>
 
        * modules/other/gail/Makefile.am:
index c6c9fd0509bf1df79f45cc86490de0e44aeb6f9d..2e5d5e32d6255deac01f995fafee09b824f064b0 100644 (file)
@@ -1090,5 +1090,21 @@ gail_window_get_mdi_zorder (AtkComponent *component)
 }
 
 #else
-#error Port to this GDK backend
+
+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 */
+}
+
 #endif