diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-21 12:39:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-21 12:39:49 +0000 |
| commit | 0820c5100d7ea8daed00e7b1bf183edc9414728f (patch) | |
| tree | 61111c19b7c4e98e3f7a96248cb1371c7d05a18c /otk_c/screeninfo.h | |
| parent | 9e4d1bbabcabef13b740dd7201e35c3314abfbee (diff) | |
make rect a proper pyobject. use "typesafety"
Diffstat (limited to 'otk_c/screeninfo.h')
| -rw-r--r-- | otk_c/screeninfo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/otk_c/screeninfo.h b/otk_c/screeninfo.h index 3a330f57..1a4aaea0 100644 --- a/otk_c/screeninfo.h +++ b/otk_c/screeninfo.h @@ -7,6 +7,8 @@ extern PyTypeObject OtkScreenInfo_Type; +struct OtkRect; + typedef struct OtkScreenInfo { int screen; Window root_window; @@ -15,8 +17,8 @@ typedef struct OtkScreenInfo { Visual *visual; Colormap colormap; - PyObject *display_string; // PyStringObject - PyObject *rect; // OtkRect + PyStringObject *display_string; + struct OtkRect *rect; // OtkRect #ifdef XINERAMA PyObject *xinerama_areas; // PyListObject[OtkRect] Bool xinerama_active; |
