From 541b9ca744ec68d874230560376d64a4b45937ce Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Tue, 6 Mar 2018 14:35:51 +0000 Subject: win32: Update to build against gvsbuild --- plugins/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/python/python.c') diff --git a/plugins/python/python.c b/plugins/python/python.c index 705fe9e6..4403474d 100644 --- a/plugins/python/python.c +++ b/plugins/python/python.c @@ -1532,7 +1532,7 @@ Plugin_New(char *filename, PyObject *xcoobj) if (filename) { #ifdef WIN32 char *file; - if (!g_file_get_contents_utf8(filename, &file, NULL, NULL)) { + if (!g_file_get_contents(filename, &file, NULL, NULL)) { hexchat_printf(ph, "Can't open file %s: %s\n", filename, strerror(errno)); goto error; -- cgit 1.4.1