summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2018-03-06 14:35:51 +0000
committerPatrick Griffis <tingping@tingping.se>2018-03-09 20:26:41 +0000
commit541b9ca744ec68d874230560376d64a4b45937ce (patch)
treeedf8c8946d4d4569f6c00f437bc9cfce57630835 /plugins
parente9b9ff9f38abc82c0a5002d5e58a5c226b698f82 (diff)
win32: Update to build against gvsbuild
Diffstat (limited to 'plugins')
-rw-r--r--plugins/python/python.c2
1 files changed, 1 insertions, 1 deletions
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;