summaryrefslogtreecommitdiff
path: root/mate-panel/panel-background.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-background.c')
-rw-r--r--mate-panel/panel-background.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c
index f85fb939..bd5370c0 100644
--- a/mate-panel/panel-background.c
+++ b/mate-panel/panel-background.c
@@ -1296,8 +1296,7 @@ panel_background_make_string (PanelBackground *background,
retval = g_strdup_printf ("pixmap:%d,%d,%d", (guint32)cairo_xlib_surface_get_drawable (surface), x, y);
#else
- pixmap_xid = gdk_x11_drawable_get_xid (
- GDK_DRAWABLE (background->pixmap));
+ pixmap_xid = GDK_WINDOW_XID (GDK_DRAWABLE (background->pixmap));
retval = g_strdup_printf ("pixmap:%d,%d,%d", pixmap_xid, x, y);
#endif