diff options
author | Havoc Pennington <hp@pobox.com> | 2002-10-26 07:37:11 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-10-26 07:37:11 +0000 |
commit | 5a8af8c2fb897825b7ea196197299f01645b0d17 (patch) | |
tree | 71733f380ab9959e4e8362baabb70b59b6e0f10c /src/async-getprop.h | |
parent | e8097a6f8f4bb2864a5ca99ed245b031a3806454 (diff) | |
download | metacity-5a8af8c2fb897825b7ea196197299f01645b0d17.tar.gz |
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
Diffstat (limited to 'src/async-getprop.h')
-rw-r--r-- | src/async-getprop.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/async-getprop.h b/src/async-getprop.h index 9ff3df1e..35d4befd 100644 --- a/src/async-getprop.h +++ b/src/async-getprop.h @@ -54,6 +54,9 @@ Display* ag_task_get_display (AgGetPropertyTask *task); AgGetPropertyTask* ag_get_next_completed_task (Display *display); +/* so other headers don't have to include internal Xlib goo */ +void* ag_Xmalloc (unsigned long bytes); + #endif |