[gjs/gnome-3-8] gi: fix compile error



commit 8157bf95417a075e28bcdd3de392a673794aeab0
Author: Ray Strode <rstrode redhat com>
Date:   Mon Apr 1 23:31:55 2013 -0400

    gi: fix compile error
    
    This commit fixes a typo that can only see when compiling gjs with
    extra debugging.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=670200

 gi/boxed.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/boxed.c b/gi/boxed.c
index f46cec5..2da9725 100644
--- a/gi/boxed.c
+++ b/gi/boxed.c
@@ -385,7 +385,7 @@ boxed_new(JSContext   *context,
 
         gjs_debug_lifecycle(GJS_DEBUG_GBOXED,
                             "JSObject created with boxed instance %p type %s",
-                            priv->gboxed, g_type_name(gtype));
+                            priv->gboxed, g_type_name(priv->gtype));
 
     } else if (priv->can_allocate_directly) {
         boxed_new_direct(priv);


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