1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Fix runtime issue

Approved by:	pgollucci (mentor)
This commit is contained in:
Steve Wills 2010-10-15 04:30:04 +00:00
parent 5a78c58ad4
commit fc1ed92fb4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263019

View File

@ -5,7 +5,7 @@
VALUE obj = rb_eval_string("eval('self', binding)");
G_RELATIVE(obj, self);
- RBGTK_INITIALIZE(self, gtk_item_factory_new(FIX2INT(type), RVAL2CSTR(path),
+ RBGTK_INITIALIZE(self, gtk_item_factory_new(NUM2UINT(type), RVAL2CSTR(path),
+ RBGTK_INITIALIZE(self, gtk_item_factory_new(NUM2ULONG(type), RVAL2CSTR(path),
RVAL2ACCEL(accel)));
return Qnil;