Diff of /rexxgtk/trunk/grxliststore.cpp [r7691] .. [r7692]  Maximize  Restore

Switch to side-by-side view

--- a/rexxgtk/trunk/grxliststore.cpp
+++ b/rexxgtk/trunk/grxliststore.cpp
@@ -85,9 +85,13 @@
         return 0;
     }
     for (int i = 1; i <= members; i++) {
-        context->ObjectToInt32(context->ArrayAt(args, i), (int32_t *)&types[i - 1]);
+        GType type;
+        int32_t temp;
+        context->ObjectToInt32(context->ArrayAt(args, i), &temp);
+        types[i - 1] = (GType) temp;
     }
-    lstore = (GtkListStore *)gtk_list_store_newv(members, types);
+    printf("Got here\n");
+    lstore = (GtkListStore *)gtk_list_store_newv((gint)members, types);
 
     // Save ourself
     context->SetObjectVariable("CSELF", context->NewPointer(lstore));