From: Masao M. <mu...@us...> - 2003-06-26 15:17:04
|
Update of /cvsroot/ruby-gnome2/ruby-gnome2/gconf/src In directory sc8-pr-cvs1:/tmp/cvs-serv29124/src Modified Files: rbgconf-changeset.c rbgconf-client.c Log Message: * src/rbgconf-client.c, rbgconf_changeset.c: Replace rb_f_lambda() to G_BLOCK_PROC() for ruby-1.8.x. Index: rbgconf-changeset.c =================================================================== RCS file: /cvsroot/ruby-gnome2/ruby-gnome2/gconf/src/rbgconf-changeset.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- rbgconf-changeset.c 13 Apr 2003 00:19:20 -0000 1.5 +++ rbgconf-changeset.c 26 Jun 2003 15:17:01 -0000 1.6 @@ -106,7 +106,7 @@ { VALUE func; - func = rb_f_lambda(); + func = G_BLOCK_PROC(); G_RELATIVE(self, func); gconf_change_set_foreach(_SELF(self), (GConfChangeSetForeachFunc)change_set_foreach_func, Index: rbgconf-client.c =================================================================== RCS file: /cvsroot/ruby-gnome2/ruby-gnome2/gconf/src/rbgconf-client.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- rbgconf-client.c 13 Apr 2003 20:31:43 -0000 1.7 +++ rbgconf-client.c 26 Jun 2003 15:17:01 -0000 1.8 @@ -116,7 +116,7 @@ /* parse the namespace and get a block to be called on notifies */ rb_scan_args(argc, argv, "1&", &namespace, &func); if (NIL_P(func)) { - func = rb_f_lambda(); + func = G_BLOCK_PROC(); } G_RELATIVE(self, func); |