Remove leftover reference to removed NSSS TTS module

This commit is contained in:
Kovid Goyal 2024-09-03 19:28:20 +05:30
parent 56be893064
commit e955050860
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -15,8 +15,6 @@
#include <string.h> #include <string.h>
#include <Python.h> #include <Python.h>
extern int nsss_init_module(PyObject*);
static void static void
disable_window_tabbing(void) { disable_window_tabbing(void) {
if ([NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)]) if ([NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)])
@ -360,7 +358,6 @@ static PyMethodDef module_methods[] = {
static int static int
exec_module(PyObject *module) { exec_module(PyObject *module) {
if (nsss_init_module(module) == -1) return -1;
#define A(which) if (PyModule_AddStringConstant(module, #which, [(__bridge NSString *)which UTF8String]) == -1) return -1; #define A(which) if (PyModule_AddStringConstant(module, #which, [(__bridge NSString *)which UTF8String]) == -1) return -1;
A(kIOPMAssertionTypePreventUserIdleSystemSleep); A(kIOPMAssertionTypePreventUserIdleSystemSleep);
A(kIOPMAssertionTypePreventUserIdleDisplaySleep); A(kIOPMAssertionTypePreventUserIdleDisplaySleep);