]> Dogcows Code - chaz/openbox/blobdiff - otk_c/display.h
add some const
[chaz/openbox] / otk_c / display.h
index a36cd8538a5dfa2fdffbe9bf4a38362086accd3c..32e92c4a6aee6e1c9f6356a4ae50d55668f5ad60 100644 (file)
@@ -1,4 +1,4 @@
-// -*- mode: C; indent-tabs-mode: nil; -*-
+// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 #ifndef   __display_h
 #define   __display_h
 
@@ -10,6 +10,8 @@ struct OtkDisplay;
 
 extern struct OtkDisplay *OBDisplay; // the global display XXX: move this to app.h and ob.h?
 
+extern PyTypeObject OtkDisplay_Type;
+
 typedef struct OtkDisplay {
   PyObject_HEAD
   
@@ -33,7 +35,7 @@ typedef struct OtkDisplay {
   int grab_count;
 
   //! A list of information for all screens on the display
-  PyObject *screenInfoList; // PyListObject
+  PyListObject *screenInfoList;
 } OtkDisplay;
 
 //! Opens the X display, and sets the global OBDisplay variable
This page took 0.023333 seconds and 4 git commands to generate.