[pygobject/pygobject-2-28] GVariantType is a boxed struct



commit 6b5a656a3b77438c9bbb897c65343634b981c0e5
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date:   Mon Jun 6 19:05:07 2011 +0200

    GVariantType is a boxed struct
    
    https://bugzilla.gnome.org/show_bug.cgi?id=647509

 gi/gimodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/gimodule.c b/gi/gimodule.c
index 2c4c335..f715d0f 100644
--- a/gi/gimodule.c
+++ b/gi/gimodule.c
@@ -475,7 +475,7 @@ _wrap_pyg_variant_type_from_string (PyObject *self, PyObject *args)
 
     py_type = _pygi_type_import_by_name ("GLib", "VariantType");
 
-    py_variant = _pygi_struct_new ( (PyTypeObject *) py_type, type_string, FALSE);
+    py_variant = _pygi_boxed_new ( (PyTypeObject *) py_type, type_string, FALSE);
 
     return py_variant;
 }



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