Forum: Ruby-Gnome 2 Bug in glib/src/rbglib_maincontext.c?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Nikolai W. (Guest)
on 2009-03-19 17:34
(Received via mailing list)
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.
Kouhei S. (Guest)
on 2009-03-20 17:58
(Received via mailing list)
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
This topic is locked and can not be replied to.