mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 06:37:17 +00:00
Fixed the building process of the block module for Qt.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# which should be included with this package. The terms are also available at
|
||||
# http://www.hardcoded.net/licenses/hs_license
|
||||
|
||||
from _block import getblocks
|
||||
from _block_qt import getblocks
|
||||
|
||||
# Converted to C
|
||||
# def getblock(image):
|
||||
|
||||
@@ -159,7 +159,7 @@ static PyMethodDef BlockMethods[] = {
|
||||
|
||||
static struct PyModuleDef BlockDef = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"_block",
|
||||
"_block_qt",
|
||||
NULL,
|
||||
-1,
|
||||
BlockMethods,
|
||||
@@ -170,7 +170,7 @@ static struct PyModuleDef BlockDef = {
|
||||
};
|
||||
|
||||
PyObject *
|
||||
PyInit__block(void)
|
||||
PyInit__block_qt(void)
|
||||
{
|
||||
PyObject *m = PyModule_Create(&BlockDef);
|
||||
if (m == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user