From 20c16cd277538919b5f2eff096b9f912a27594f9 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Thu, 23 Jun 2005 22:52:49 +0000 Subject: [PATCH] g_build_filename_va is only use in the G_OS_WIN32 case, so compile it Thu Jun 23 15:52:08 2005 Manish Singh * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32 case, so compile it conditionally. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ glib/gfileutils.c | 4 ++++ 5 files changed, 24 insertions(+) diff --git a/ChangeLog b/ChangeLog index 920ca63..483e581 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 23 15:52:08 2005 Manish Singh + + * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32 + case, so compile it conditionally. + 2005-06-23 Matthias Clasen * tests/keyfile-test.c (test_group_remove): Don't leak diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 920ca63..483e581 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Thu Jun 23 15:52:08 2005 Manish Singh + + * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32 + case, so compile it conditionally. + 2005-06-23 Matthias Clasen * tests/keyfile-test.c (test_group_remove): Don't leak diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 920ca63..483e581 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Thu Jun 23 15:52:08 2005 Manish Singh + + * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32 + case, so compile it conditionally. + 2005-06-23 Matthias Clasen * tests/keyfile-test.c (test_group_remove): Don't leak diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 920ca63..483e581 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Thu Jun 23 15:52:08 2005 Manish Singh + + * glib/gfileutils.c: g_build_filename_va is only use in the G_OS_WIN32 + case, so compile it conditionally. + 2005-06-23 Matthias Clasen * tests/keyfile-test.c (test_group_remove): Don't leak diff --git a/glib/gfileutils.c b/glib/gfileutils.c index 1be2962..b809b6a 100644 --- a/glib/gfileutils.c +++ b/glib/gfileutils.c @@ -1752,6 +1752,8 @@ g_build_path (const gchar *separator, return str; } +#ifdef G_OS_WIN32 + static gchar * g_build_filename_va (const gchar *first_element, va_list args, @@ -1864,6 +1866,8 @@ g_build_filename_va (const gchar *first_element, } } +#endif + /** * g_build_filenamev: * @args: %NULL-terminated array of strings containing the path elements. -- 2.7.4