[glib] Make GWin32AppInfo MSVC-compatible - use G_VA_COPY



commit 2a71f187d731a71ef16f4368d49af68aa3fe158d
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Sun May 17 11:42:55 2015 +0000

    Make GWin32AppInfo MSVC-compatible - use G_VA_COPY
    
    https://bugzilla.gnome.org/show_bug.cgi?id=666831

 gio/gwin32appinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gwin32appinfo.c b/gio/gwin32appinfo.c
index 5b94157..782e153 100644
--- a/gio/gwin32appinfo.c
+++ b/gio/gwin32appinfo.c
@@ -645,7 +645,7 @@ build_registry_pathv (gunichar2 *output, gsize output_size, va_list components)
   if (output == NULL)
     return FALSE;
 
-  va_copy (lentest, components);
+  G_VA_COPY (lentest, components);
 
   for (length = 0, component = va_arg (lentest, gunichar2 *);
        component != NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]