diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2015-09-20 04:58:12 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2015-09-20 04:58:12 +0300 |
commit | 559fa01a561b4cc185767c9919e07a393f0f4086 (patch) | |
tree | 353e3d2049b8de48600140635509de00e2d646cd | |
parent | cc8a9cdfeedad49436891ead24bd7ed4c4dae76d (diff) | |
download | metacity-559fa01a561b4cc185767c9919e07a393f0f4086.tar.gz |
compositor-xrender: fix build warnings
-rw-r--r-- | src/compositor/compositor-xrender.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c index b05a2057..26268754 100644 --- a/src/compositor/compositor-xrender.c +++ b/src/compositor/compositor-xrender.c @@ -3138,7 +3138,7 @@ MetaCompositor * meta_compositor_xrender_new (MetaDisplay *display) { #ifdef HAVE_COMPOSITE_EXTENSIONS - char *atom_names[] = { + const gchar *atom_names[] = { "_XROOTPMAP_ID", "_XSETROOT_ID", "_NET_WM_WINDOW_OPACITY", @@ -3168,7 +3168,7 @@ meta_compositor_xrender_new (MetaDisplay *display) xrc->display = display; meta_verbose ("Creating %d atoms\n", (int) G_N_ELEMENTS (atom_names)); - XInternAtoms (xdisplay, atom_names, G_N_ELEMENTS (atom_names), + XInternAtoms (xdisplay, (gchar **) atom_names, G_N_ELEMENTS (atom_names), False, atoms); xrc->atom_x_root_pixmap = atoms[0]; |