From 0826e7d353f1b29dd5feaaaf3e90b02965ffab2f Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Thu, 18 Feb 2016 12:59:02 -0500 Subject: python: Handle get_info('win_ptr') --- plugins/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python/python.c b/plugins/python/python.c index b97761f5..34784c3b 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -1726,7 +1726,7 @@ Module_hexchat_get_info(PyObject *self, PyObject *args) if (info == NULL) { Py_RETURN_NONE; } - if (strcmp (name, "gtkwin_ptr") == 0) + if (strcmp (name, "gtkwin_ptr") == 0 || strcmp (name, "win_ptr") == 0) return PyUnicode_FromFormat("%p", info); /* format as pointer */ else return PyUnicode_FromString(info); -- cgit 1.4.1