[metacity] compositor-xrender: fix build warnings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] compositor-xrender: fix build warnings
- Date: Sun, 20 Sep 2015 18:09:53 +0000 (UTC)
commit 559fa01a561b4cc185767c9919e07a393f0f4086
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Sep 20 04:58:12 2015 +0300
compositor-xrender: fix build warnings
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 b05a205..2626875 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];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]