fix copy & paste error

While copying the entry of the property screen_width to create the
entry of the property screen_height it was forgotten
to rename the function Display_get_screen_width to
Display_get_screen_height.
pull/147/head
seebye 3 years ago
parent 6c6a795438
commit 07a79980de

@ -225,7 +225,7 @@ static PyGetSetDef Display_properties[] = {
" The scanline is calculated in multiples of this value."},
{"screen_width", (getter)Display_get_screen_width,
.doc = "int: The width of the default screen at the time the connection to X11 was opened."},
{"screen_height", (getter)Display_get_screen_width,
{"screen_height", (getter)Display_get_screen_height,
.doc = "int: The height of the default screen at the time the connection to X11 was opened."},
{NULL} /* Sentinel */
};

Loading…
Cancel
Save