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

  Switch to side-by-side view

--- a/rexxgtk/trunk/grxwindow.cpp
+++ b/rexxgtk/trunk/grxwindow.cpp
@@ -107,7 +107,7 @@
     GtkWidget *myWidget = gtk_window_new((GtkWindowType)type);
 
     // 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;
@@ -125,7 +125,7 @@
             CSELF, self)               // GTK self
 {
     const char * retc = gtk_window_get_title(GTK_WINDOW(self));
-    if (retc ==NULL) {
+    if (retc == NULL) {
         return (RexxObjectPtr)context->NewStringFromAsciiz("\0");
     }
     return (RexxObjectPtr)context->NewStringFromAsciiz(retc);

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks