use multi-value-get on a couple of properties for testing

2002-10-26  Havoc Pennington  <hp@pobox.com>

	* src/window.c (meta_window_new): use multi-value-get on a couple
	of properties for testing

	* src/xprops.c (meta_prop_get_values): implement multi-value-get

	* src/window.c (update_mwm_hints): XFree motif hints as we changed
	it to use Xmalloc

	* src/xprops.c: massively rework this to set up a
	get-multiple-properties-at-once API.

	* src/async-getprop.c (ag_Xmalloc): new function
This commit is contained in:
Havoc Pennington
2002-10-26 07:37:11 +00:00
committed by Havoc Pennington
parent e8097a6f8f
commit 5a8af8c2fb
7 changed files with 582 additions and 295 deletions

View File

@@ -635,3 +635,9 @@ ag_get_next_completed_task (Display *display)
return (AgGetPropertyTask*) dd->completed_tasks;
}
void*
ag_Xmalloc (unsigned long bytes)
{
return (void*) Xmalloc (bytes);
}