[clutter] Fix building with profiling enabled



commit c687ece72d8d613d8af62615374839b9302abafe
Author: Neil Roberts <neil linux intel com>
Date:   Mon Nov 28 16:27:57 2011 +0000

    Fix building with profiling enabled
    
    There was an #ifdef'd section of code for profiling that was using the
    wrong variable name so it would not build.
    
    Reviewed-by: Emmanuele Bassi <ebassi linux intel com>

 clutter/clutter-main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c
index 49a31c3..d49a1f1 100644
--- a/clutter/clutter-main.c
+++ b/clutter/clutter-main.c
@@ -3737,7 +3737,7 @@ _clutter_debug_messagev (const char *format,
 
 #ifdef CLUTTER_ENABLE_PROFILE
   if (_clutter_uprof_context != NULL)
-    uprof_context_vtrace_message (_clutter_uprof_context, format, args);
+    uprof_context_vtrace_message (_clutter_uprof_context, format, var_args);
 #endif
 
   g_free (fmt);



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