[Kst] kdeextragear-2/kst/kst/datasources/planck

George Staikos staikos at kde.org
Fri Feb 13 22:53:02 CET 2004


CVS commit by staikos: 

updates for API changes from Claude Mercier.  Compile with old piolib will now
fail.  Update to piolib-HEAD.


  M +1 -1      planckdata.cpp   1.9
  M +3 -3      planckobj.cpp   1.16


--- kdeextragear-2/kst/kst/datasources/planck/planckdata.cpp  #1.8:1.9
@@ -30,5 +30,5 @@ bool validDatabase(const QString& db) {
   PIOGroup *g = PIOOpenVoidGrp(const_cast<char*>(db.latin1()), const_cast<char*>("r"));
   if (g) {
-    PIOCloseVoidGrp(g);
+    PIOCloseVoidGrp(&g);
     return true;
   }

--- kdeextragear-2/kst/kst/datasources/planck/planckobj.cpp  #1.15:1.16
@@ -275,5 +275,5 @@ void ObjectGroup::close() {
     objectListSize = 0;
 
-    PIOCloseVoidGrp(_group);
+    PIOCloseVoidGrp(&_group);
     _group = 0L;
   }
@@ -290,5 +290,5 @@ bool ObjectGroup::updateObjectList() {
   }
 
-  PIOErr e = PIOGetObjList(&objNames, &objTypes, _group);
+  PIOErr e = PIOGetObjectList(&objNames, &objTypes, _group);
   if (e > 0) {
     _valid = true;
@@ -330,5 +330,5 @@ bool ObjectGroup::open(const QString& gr
 #endif
     if (!updateObjectList()) {
-      PIOCloseVoidGrp(_group);
+      PIOCloseVoidGrp(&_group);
       objectListSize = 0;
       _group = 0L;





More information about the Kst mailing list