[clutter/wip/wayland-client: 1/2] build: fix building with --enable-profile



commit 6a30faddfd065aa4c4cfc2a1114ee0d415b1eafb
Author: Robert Bragg <robert linux intel com>
Date:   Tue Nov 29 12:07:51 2011 +0000

    build: fix building with --enable-profile
    
    _clutter_debug_messagev had its args parameter renamed to var_args but
    the #ifdef'd code for profiling in that function wasn't updated so it
    would fail to build if enabled.

 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]