[mutter] xprops: Apply the same Xlib / 64-bit hygiene to atom lists
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] xprops: Apply the same Xlib / 64-bit hygiene to atom lists
- Date: Tue, 23 Jun 2015 22:41:42 +0000 (UTC)
commit 3962f1d982f2c6147075591c33e707d7d4c98999
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Jun 23 15:33:58 2015 -0700
xprops: Apply the same Xlib / 64-bit hygiene to atom lists
src/x11/xprops.c | 4 ++--
src/x11/xprops.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/x11/xprops.c b/src/x11/xprops.c
index 2dea286..fb9cc20 100644
--- a/src/x11/xprops.c
+++ b/src/x11/xprops.c
@@ -241,13 +241,13 @@ get_property (MetaDisplay *display,
static gboolean
atom_list_from_results (GetPropertyResults *results,
- Atom **atoms_p,
+ uint32_t **atoms_p,
int *n_atoms_p)
{
if (!validate_or_free_results (results, 32, XA_ATOM, FALSE))
return FALSE;
- *atoms_p = (Atom*) results->prop;
+ *atoms_p = (uint32_t*) results->prop;
*n_atoms_p = results->n_items;
results->prop = NULL;
diff --git a/src/x11/xprops.h b/src/x11/xprops.h
index 7500c34..17a08ce 100644
--- a/src/x11/xprops.h
+++ b/src/x11/xprops.h
@@ -170,8 +170,8 @@ typedef struct
struct
{
- Atom *atoms;
- int n_atoms;
+ uint32_t *atoms;
+ int n_atoms;
} atom_list;
} v;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]