so amateur
This commit is contained in:
parent
4b443976da
commit
4c9bf6c9a1
1 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
// -*- mode: C; indent-tabs-mode: nil; -*-
|
// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
|
||||||
|
|
||||||
#include "../config.h"
|
#include "../config.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
|
@ -148,8 +148,7 @@ void OtkDisplay_Ungrab(OtkDisplay *self)
|
||||||
|
|
||||||
OtkScreenInfo *OtkDisplay_ScreenInfo(OtkDisplay *self, int num)
|
OtkScreenInfo *OtkDisplay_ScreenInfo(OtkDisplay *self, int num)
|
||||||
{
|
{
|
||||||
PyObject *py = PyList_GetItem((PyObject*)self->screenInfoList, num);
|
return (OtkScreenInfo*)PyList_GetItem((PyObject*)self->screenInfoList, num);
|
||||||
return (OtkScreenInfo*) py;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue