API: Add size getters for GdkWindow

gdk_window_get_width() and gdk_window_get_height() will replace
gdk_drawable_get_size().
This commit is contained in:
Benjamin Otte
2010-09-20 11:10:37 +02:00
parent f3ccf2fccf
commit af32c9c9be
4 changed files with 54 additions and 0 deletions

View File

@ -694,6 +694,8 @@ void gdk_window_get_geometry (GdkWindow *window,
gint *width,
gint *height,
gint *depth);
int gdk_window_get_width (GdkWindow *window);
int gdk_window_get_height (GdkWindow *window);
void gdk_window_get_position (GdkWindow *window,
gint *x,
gint *y);