summaryrefslogtreecommitdiff
path: root/gtk/gtktoolpalette.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-29 02:08:24 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:33 +0200
commit2ee8fdb79bcabfaf8e812bbc451ec7ff4a221f1b (patch)
tree7829ea4a01e98139ba55a366496cd6b3a9136a92 /gtk/gtktoolpalette.c
parent7f486231ac4114acf332c4bf4ade2bd9e0155a6f (diff)
downloadgtk+-2ee8fdb79bcabfaf8e812bbc451ec7ff4a221f1b.tar.gz
gtk: gdk_drawable_get_display() => gdk_window_get_display()
Diffstat (limited to 'gtk/gtktoolpalette.c')
-rw-r--r--gtk/gtktoolpalette.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c
index 736de954b4..98ac1d3740 100644
--- a/gtk/gtktoolpalette.c
+++ b/gtk/gtktoolpalette.c
@@ -627,7 +627,7 @@ gtk_tool_palette_expose_event (GtkWidget *widget,
window = gtk_widget_get_window (widget);
- display = gdk_drawable_get_display (window);
+ display = gdk_window_get_display (window);
if (!gdk_display_supports_composite (display))
return FALSE;