so amateur

This commit is contained in:
Dana Jansens 2002-12-21 15:02:30 +00:00
parent 4b443976da
commit 4c9bf6c9a1

View file

@ -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;
} }