diff options
| author | Christopher Davis <loafier@gmail.com> | 2006-08-12 21:58:42 +0000 |
|---|---|---|
| committer | Christopher Davis <loafier@gmail.com> | 2006-08-12 21:58:42 +0000 |
| commit | f13ea25509e932d426ebd69d90368fe9b1d4c1ab (patch) | |
| tree | 98883c3fd1c4e7912320ba0013a851bfde9133cc /objects/main-window-object.c | |
| parent | b1b54c58af7cd9419631d7b82b860a7b19097836 (diff) | |
| download | irssi-python-f13ea25509e932d426ebd69d90368fe9b1d4c1ab.tar.gz irssi-python-f13ea25509e932d426ebd69d90368fe9b1d4c1ab.tar.xz irssi-python-f13ea25509e932d426ebd69d90368fe9b1d4c1ab.zip | |
added support for constants
git-svn-id: http://svn.irssi.org/repos/irssi-python@4311 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'objects/main-window-object.c')
| -rw-r--r-- | objects/main-window-object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/objects/main-window-object.c b/objects/main-window-object.c index 331cef6..6541f2b 100644 --- a/objects/main-window-object.c +++ b/objects/main-window-object.c @@ -173,7 +173,7 @@ PyObject *pymain_window_new(MAIN_WINDOW_REC *mw) pymw = py_inst(PyMainWindow, PyMainWindowType); if (!pymw) { - Py_XDECREF(pyactive); + Py_DECREF(pyactive); return NULL; } |
