summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-10-29 17:44:02 +0200
committerJasmine Hassan <[email protected]>2012-12-22 05:04:41 +0200
commitcbd664b1fb9409b6500fb36f3d051ab100ffc828 (patch)
tree4704123d5260afea46b8cbff64c41adae7e0296b
parentea7fa744d4c0d698c99c37372c98c52643381cce (diff)
downloadcaja-cbd664b1fb9409b6500fb36f3d051ab100ffc828.tar.bz2
caja-cbd664b1fb9409b6500fb36f3d051ab100ffc828.tar.xz
[eel] Use future-safe GDK_WINDOW_XDISPLAY macro to query X display
http://git.gnome.org/browse/nautilus/commit/?id=8cb07ccf2ddcf0cb8557c763f8905558d67736de
-rw-r--r--eel/eel-canvas-rect-ellipse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eel/eel-canvas-rect-ellipse.c b/eel/eel-canvas-rect-ellipse.c
index d0e4a592..9aca4086 100644
--- a/eel/eel-canvas-rect-ellipse.c
+++ b/eel/eel-canvas-rect-ellipse.c
@@ -717,7 +717,7 @@ eel_canvas_rect_realize (EelCanvasItem *item)
priv = EEL_CANVAS_RECT (item)->priv;
- dpy = gdk_x11_drawable_get_xdisplay (gtk_widget_get_window (GTK_WIDGET (item->canvas)));
+ dpy = GDK_WINDOW_XDISPLAY (gtk_widget_get_window (GTK_WIDGET (item->canvas)));
priv->use_render = XRenderQueryExtension (dpy, &event_base, &error_base);
if (priv->use_render)