xandr-capplet: Remove depth argument from gdk_window_get_geometry()

Make compile again with the latest GTK+ 2.9x API changes.

https://bugzilla.gnome.org/show_bug.cgi?id=636581
This commit is contained in:
Owen W. Taylor 2010-12-06 08:37:00 -05:00
parent 33a73ceac0
commit 5d7ad665ec

View file

@ -2354,7 +2354,7 @@ get_output_for_window (GnomeRRConfig *configuration, GdkWindow *window)
int largest_area;
int largest_index;
gdk_window_get_geometry (window, &win_rect.x, &win_rect.y, &win_rect.width, &win_rect.height, NULL);
gdk_window_get_geometry (window, &win_rect.x, &win_rect.y, &win_rect.width, &win_rect.height);
gdk_window_get_origin (window, &win_rect.x, &win_rect.y);
largest_area = 0;