Bug in glib/src/rbglib_maincontext.c?


#1

Line 640 reads

priority = NIL_P(rb_priority) ? G_PRIORITY_DEFAULT : 

INT2NUM(rb_priority);

Shouldn’t that be NUM2INT(rb_priority)?

Same gose for line 664.


#2

Hi,

In removed_email_address@domain.invalid
“[ruby-gnome2-devel-en] Bug in glib/src/rbglib_maincontext.c?” on Thu,
19 Mar 2009 16:32:31 +0100,
Nikolai W. removed_email_address@domain.invalid wrote:

Line 640 reads

priority = NIL_P(rb_priority) ? G_PRIORITY_DEFAULT : INT2NUM(rb_priority);

Shouldn’t that be NUM2INT(rb_priority)?

Same gose for line 664.

Thanks for reporting.
They have been fixed in trunk.


kou