mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Remove debug on plugin win create
This commit is contained in:
parent
a3a73cf003
commit
cbfc34f7c3
@ -218,7 +218,6 @@ static void
|
|||||||
c_api_win_create(const char *filename, char *tag, void(*callback)(char *tag, char *line))
|
c_api_win_create(const char *filename, char *tag, void(*callback)(char *tag, char *line))
|
||||||
{
|
{
|
||||||
char *plugin_name = _c_plugin_name(filename);
|
char *plugin_name = _c_plugin_name(filename);
|
||||||
log_debug("Win create %s for %s", tag, plugin_name);
|
|
||||||
|
|
||||||
WindowWrapper *wrapper = malloc(sizeof(WindowWrapper));
|
WindowWrapper *wrapper = malloc(sizeof(WindowWrapper));
|
||||||
wrapper->func = callback;
|
wrapper->func = callback;
|
||||||
|
@ -540,7 +540,6 @@ python_api_win_create(PyObject *self, PyObject *args)
|
|||||||
char *tag_str = python_str_or_unicode_to_string(tag);
|
char *tag_str = python_str_or_unicode_to_string(tag);
|
||||||
|
|
||||||
char *plugin_name = _python_plugin_name();
|
char *plugin_name = _python_plugin_name();
|
||||||
log_debug("Win create %s for %s", tag_str, plugin_name);
|
|
||||||
|
|
||||||
if (p_callback && PyCallable_Check(p_callback)) {
|
if (p_callback && PyCallable_Check(p_callback)) {
|
||||||
allow_python_threads();
|
allow_python_threads();
|
||||||
|
Loading…
Reference in New Issue
Block a user