Kazuhiro NISHIYAMA
znz****@users*****
Mon May 29 19:27:07 JST 2006
Index: kazehakase/ext/ruby/kz-rb-ext.h diff -u kazehakase/ext/ruby/kz-rb-ext.h:1.8 kazehakase/ext/ruby/kz-rb-ext.h:1.9 --- kazehakase/ext/ruby/kz-rb-ext.h:1.8 Sun Apr 23 23:57:44 2006 +++ kazehakase/ext/ruby/kz-rb-ext.h Mon May 29 19:27:07 2006 @@ -21,6 +21,9 @@ #define EVENTMOUSE2RVAL(obj) \ (BOXED2RVAL(obj, KZ_TYPE_EMBED_EVENT_MOUSE)) +#ifndef G_CHILD_ADD +#define G_CHILD_ADD(self, child) /* hide when old Ruby-GNOME2 */ +#endif extern void kz_ext_init(void); extern void kz_ext_setup(KzWindow *kz);