Diff of /rexxgtk/trunk/grxmenuitem.cpp [r5649] .. [r7692] Maximize Restore

  Switch to side-by-side view

--- a/rexxgtk/trunk/grxmenuitem.cpp
+++ b/rexxgtk/trunk/grxmenuitem.cpp
@@ -118,7 +118,7 @@
     }
 
     // Save ourself
-    context->SetObjectVariable("CSELF", context->NewPointer(myWidget));
+    context->SendMessage1(self, "set_cself", context->NewPointer(myWidget));
     g_object_set_data(G_OBJECT(myWidget), "OORXOBJECT", self);
 
     return 0;
@@ -308,7 +308,7 @@
     GtkWidget *myWidget = gtk_separator_menu_item_new();
 
     // Save ourself
-    context->SetObjectVariable("CSELF", context->NewPointer(myWidget));
+    context->SendMessage1(self, "set_cself", context->NewPointer(myWidget));
     g_object_set_data(G_OBJECT(myWidget), "OORXOBJECT", self);
 
     return 0;
@@ -348,7 +348,7 @@
     }
 
     // Save ourself
-    context->SetObjectVariable("CSELF", context->NewPointer(myWidget));
+    context->SendMessage1(self, "set_cself", context->NewPointer(myWidget));
     g_object_set_data(G_OBJECT(myWidget), "OORXOBJECT", self);
 
     return 0;