GNOME Bugzilla – Bug 479688
gail build fails with gtk-quartz (osx)
Last modified: 2011-01-20 09:34:56 UTC
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DVERSION=\"1.20.0\" -I/opt/gtk/include/atk-1.0 -I/opt/gtk/include/glib-2.0 -I/opt/gtk/lib/glib-2.0/include -I/opt/gtk/include/gtk-2.0 -I/opt/gtk/lib/gtk-2.0/include -I/opt/gtk/include/cairo -I/opt/gtk/include/pango-1.0 -I/opt/gtk/include/freetype2 -I/opt/gtk/include -I/opt/gtk/include/libpng12 -I/usr/X11R6/include -I/opt/gtk/include -L/opt/gtk/lib -O2 -Wall -MT gailtreeview.lo -MD -MP -MF .deps/gailtreeview.Tpo -c gailtreeview.c -fno-common -DPIC -o .libs/gailtreeview.o gailtreeview.c:22:22: error: gdk/gdkx.h: No such file or directory gailtreeview.c: In function 'gail_tree_view_grab_cell_focus': gailtreeview.c:2231: warning: implicit declaration of function 'gdk_x11_get_server_time'
Some other errors : /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DVERSION=\"1.20.0\" -I/opt/gtk/include/atk-1.0 -I/opt/gtk/include/glib-2.0 -I/opt/gtk/lib/glib-2.0/include -I/opt/gtk/include/gtk-2.0 -I/opt/gtk/lib/gtk-2.0/include -I/opt/gtk/include/cairo -I/opt/gtk/include/pango-1.0 -I/opt/gtk/include/freetype2 -I/opt/gtk/include -I/opt/gtk/include/libpng12 -I/usr/X11R6/include -I/opt/gtk/include -L/opt/gtk/lib -O2 -Wall -MT gailwidget.lo -MD -MP -MF .deps/gailwidget.Tpo -c gailwidget.c -fno-common -DPIC -o .libs/gailwidget.o gailwidget.c:22:22: error: gdk/gdkx.h: No such file or directory gailwidget.c: In function 'gail_widget_grab_focus': gailwidget.c:775: warning: implicit declaration of function 'gdk_x11_get_server_time' gailwindow.c:1073:2: error: #error Port to this GDK backend
Created attachment 96795 [details] [review] gtk-quartz patch Gail builds on gtk-quartz with this patch that removes the dependence on gdk_x11_get_server_time(), as well as defines a dummy gail_window_get_mdi_zorder() (same as for Win32).
patch works for me. thanks
This seems to be a duplicate of bug #382925.
After moving to gtk+, I believe this bug has been fixed.