diff options
author | Arnavion <arnavion@gmail.com> | 2014-12-08 21:30:02 -0800 |
---|---|---|
committer | Arnavion <arnavion@gmail.com> | 2014-12-08 21:30:02 -0800 |
commit | 99a1fff5908c67b534aa26c0e6e47b2d09c368a5 (patch) | |
tree | 32f9bcded38837e12098e4f8ca94eafeb5c0253c /src | |
parent | 65c8494698f65525e26fc6f6a4a00bcbbf10fa58 (diff) |
Removed unused hexchat_filename_*_utf8 macros.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/hexchat.h | 3 | ||||
-rw-r--r-- | src/fe-gtk/maingui.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/common/hexchat.h b/src/common/hexchat.h index 993a209e..8dc106e9 100644 --- a/src/common/hexchat.h +++ b/src/common/hexchat.h @@ -632,7 +632,4 @@ struct popup /* CL: get a random int in the range [0..n-1]. DON'T use rand() % n, it gives terrible results. */ #define RAND_INT(n) ((int)(rand() / (RAND_MAX + 1.0) * (n))) -#define hexchat_filename_from_utf8 g_filename_from_utf8 -#define hexchat_filename_to_utf8 g_filename_to_utf8 - #endif diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c index a04f20dc..f61c93a1 100644 --- a/src/fe-gtk/maingui.c +++ b/src/fe-gtk/maingui.c @@ -1652,7 +1652,7 @@ mg_dnd_drop_file (session *sess, char *target, char *uri) if (fname) { /* dcc_send() expects utf-8 */ - p = hexchat_filename_to_utf8 (fname, -1, 0, 0, 0); + p = g_filename_from_utf8 (fname, -1, 0, 0, 0); if (p) { dcc_send (sess, target, p, prefs.hex_dcc_max_send_cps, 0); |