summaryrefslogtreecommitdiff
path: root/gdk/gdkwindow.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-29 01:15:28 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:32 +0200
commit5b9bbf9de2a73e1e092bf094e551fabbbb3723fd (patch)
tree2b18cffbeaf84fad7059381bf01b4a7238c9f89f /gdk/gdkwindow.h
parenteee6c002d1fd5359e8e588c7b13fa4074382a05d (diff)
downloadgtk+-5b9bbf9de2a73e1e092bf094e551fabbbb3723fd.tar.gz
API: Add gdk_window_get_visual() and gdk_window_get_screen()
Now that we store the visual in the GdkWindow, these are rather trivial accessors.
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r--gdk/gdkwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index 25c8ed03f7..74667ca917 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -505,6 +505,8 @@ void gdk_window_destroy (GdkWindow *window);
GdkWindowType gdk_window_get_window_type (GdkWindow *window);
gboolean gdk_window_is_destroyed (GdkWindow *window);
+GdkVisual * gdk_window_get_visual (GdkWindow *window);
+GdkScreen * gdk_window_get_screen (GdkWindow *window);
#ifndef GDK_MULTIDEVICE_SAFE
GdkWindow* gdk_window_at_pointer (gint *win_x,
gint *win_y);