Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

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

  Switch to side-by-side view

--- a/rexxgtk/trunk/grxrange.cpp
+++ b/rexxgtk/trunk/grxrange.cpp
@@ -204,7 +204,7 @@
     myWidget = gtk_hscale_new(adj);
 
     // 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;
@@ -233,7 +233,7 @@
     GtkWidget *myWidget = gtk_hscale_new_with_range(min, max, step);
 
     // 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;
@@ -273,7 +273,7 @@
     myWidget = gtk_vscale_new(adj);
 
     // 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;
@@ -302,7 +302,7 @@
     GtkWidget *myWidget = gtk_vscale_new_with_range(min, max, step);
 
     // 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;