[gjs] gi: fix compile error



commit e2d80eb909055a65962bbf1e4bc369462308bd2d
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 570b783..59c27a4 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]