--- gtk+-2.24.33/gdk/gdkdisplay.c.orig +++ gtk+-2.24.33/gdk/gdkdisplay.c @@ -621,6 +621,16 @@ return window; } +/* Backward compatibility with Sun's GNOME 2.0.0 release */ +GdkWindow * +gdk_screen_get_window_at_pointer (GdkScreen *screen, + gint *win_x, + gint *win_y) +{ + return gdk_display_get_window_at_pointer (gdk_screen_get_display (screen), + win_x, win_y); +} + /** * gdk_display_set_pointer_hooks: * @display: a #GdkDisplay