[Kde-bindings] KDE/kdebindings/ruby/plasma

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Aug 7 10:16:36 UTC 2008


SVN commit 843550 by rdale:

* The marshaller for Plasma::DataEngine::Data was creating Qt::Variants with
  the wrong smoke pointer in the smokeruby_object struct, and this was causing
  a crash in the GC marking function.

CCMAIL: kde-bindings at kde.org


 M  +6 -1      ChangeLog  
 M  +3 -2      src/plasmahandlers.cpp  


--- trunk/KDE/kdebindings/ruby/plasma/ChangeLog #843549:843550
@@ -1,4 +1,9 @@
-2008-08-08  Richard Dale  <richard.j.dale at gmail.com>
+2008-08-07  Richard Dale  <richard.j.dale at gmail.com>
+* The marshaller for Plasma::DataEngine::Data was creating Qt::Variants with
+  the wrong smoke pointer in the smokeruby_object struct, and this was causing
+  a crash in the GC marking function.
+
+2008-08-06  Richard Dale  <richard.j.dale at gmail.com>
 * Add some fixes for the new Plasma::Frame and Plasma::Slider widgets
 
 2008-07-03  Richard Dale  <richard.j.dale at gmail.com>
--- trunk/KDE/kdebindings/ruby/plasma/src/plasmahandlers.cpp #843549:843550
@@ -20,6 +20,7 @@
 #include <qtruby.h>
 #include <smokeruby.h>
 #include <marshall_macros.h>
+#include <smoke/qt_smoke.h>
 
 #include <plasma/packagestructure.h>
 #include <plasma/containment.h>
@@ -113,8 +114,8 @@
 				
 			if (obj == Qnil) {
 				smokeruby_object  * o = alloc_smokeruby_object(	true, 
-																m->smoke(), 
-																m->smoke()->idClass("QVariant").index, 
+																qt_Smoke, 
+																qt_Smoke->idClass("QVariant").index, 
 																p );
 				obj = set_obj_info("Qt::Variant", o);
 			}



More information about the Kde-bindings mailing list