summaryrefslogtreecommitdiff
path: root/finch
diff options
context:
space:
mode:
authorJohn Bailey <rekkanoryo@rekkanoryo.org>2009-09-16 15:41:33 +0000
committerJohn Bailey <rekkanoryo@rekkanoryo.org>2009-09-16 15:41:33 +0000
commit5f1192994fd2908716f5c66063f374b68aad9787 (patch)
tree1ac07033f5c6f97a3d35d4afefc8f8a16b70ca81 /finch
parenta245c80a0788d33e86c8512606a9cde4ac424553 (diff)
parent0988abca119d53a03d8f67d1d45868801fe09044 (diff)
downloadpidgin-5f1192994fd2908716f5c66063f374b68aad9787.tar.gz
propagate from branch 'im.pidgin.pidgin' (head c97a80bb45a36d34b5fa20d342db940010e00cc5)
to branch 'im.pidgin.pidgin.next.minor' (head 8a5b7bca32a5ab81d5f88bd302ad3039a6491a98)
Diffstat (limited to 'finch')
-rw-r--r--finch/gntsound.c8
-rw-r--r--finch/libgnt/configure.ac6
2 files changed, 4 insertions, 10 deletions
diff --git a/finch/gntsound.c b/finch/gntsound.c
index f38c835711..4256626254 100644
--- a/finch/gntsound.c
+++ b/finch/gntsound.c
@@ -559,18 +559,12 @@ finch_sound_play_file(const char *filename)
#else /* _WIN32 */
purple_debug_info("sound", "Playing %s\n", filename);
- if (G_WIN32_HAVE_WIDECHAR_API ()) {
+ {
wchar_t *wc_filename = g_utf8_to_utf16(filename,
-1, NULL, NULL, NULL);
if (!PlaySoundW(wc_filename, NULL, SND_ASYNC | SND_FILENAME))
purple_debug(PURPLE_DEBUG_ERROR, "sound", "Error playing sound.\n");
g_free(wc_filename);
- } else {
- char *l_filename = g_locale_from_utf8(filename,
- -1, NULL, NULL, NULL);
- if (!PlaySoundA(l_filename, NULL, SND_ASYNC | SND_FILENAME))
- purple_debug(PURPLE_DEBUG_ERROR, "sound", "Error playing sound.\n");
- g_free(l_filename);
}
#endif /* _WIN32 */
}
diff --git a/finch/libgnt/configure.ac b/finch/libgnt/configure.ac
index 0577b3d4a5..e62a8dded9 100644
--- a/finch/libgnt/configure.ac
+++ b/finch/libgnt/configure.ac
@@ -24,10 +24,10 @@ AC_PREREQ([2.50])
# Make sure to update ../../configure.ac with libgnt version changes.
#
-m4_define([gnt_lt_current], [6])
+m4_define([gnt_lt_current], [7])
m4_define([gnt_major_version], [2])
-m4_define([gnt_minor_version], [6])
-m4_define([gnt_micro_version], [2])
+m4_define([gnt_minor_version], [7])
+m4_define([gnt_micro_version], [0])
m4_define([gnt_version_suffix], [devel])
m4_define([gnt_version],
[gnt_major_version.gnt_minor_version.gnt_micro_version])