[gjs: 8/10] boxed: Delete double set of priv->gtype



commit e6dd376c0c7a9a7c6fb1cc3da40e09f71ba57418
Author: Philip Chimento <philip chimento gmail com>
Date:   Thu Nov 22 23:57:03 2018 -0500

    boxed: Delete double set of priv->gtype
    
    This is already set in boxed_fill_prototype_info() a few lines above.

 gi/boxed.cpp | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gi/boxed.cpp b/gi/boxed.cpp
index 82dfe86e..425dedee 100644
--- a/gi/boxed.cpp
+++ b/gi/boxed.cpp
@@ -1160,7 +1160,6 @@ bool gjs_define_boxed_class(JSContext* context, JS::HandleObject in_object,
     boxed_fill_prototype_info(context, priv);
 
     g_base_info_ref( (GIBaseInfo*) priv->info);
-    priv->gtype = g_registered_type_info_get_g_type ((GIRegisteredTypeInfo*) priv->info);
     JS_SetPrivate(prototype, priv);
 
     gjs_debug(GJS_DEBUG_GBOXED, "Defined class %s prototype is %p class %p in object %p",


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