diff options
author | infirit <[email protected]> | 2014-05-16 20:55:13 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-05-16 21:47:47 +0200 |
commit | cb443937caaffd79c297d7799639b826411bf785 (patch) | |
tree | 7b6be270c571b6edb8932ed25d5753b032edeed5 /mate-panel/panel-background.c | |
parent | dd5556550e07876cf74db99909be97ef8a87a508 (diff) | |
download | mate-panel-cb443937caaffd79c297d7799639b826411bf785.tar.bz2 mate-panel-cb443937caaffd79c297d7799639b826411bf785.tar.xz |
Use GDK_WINDOW_XID
Diffstat (limited to 'mate-panel/panel-background.c')
-rw-r--r-- | mate-panel/panel-background.c | 3 |
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 |