Gtk based libs return false on require

Hi,

the Gtk based libraries like gtk, gnome and panel-applet return false
from the require call, even if they are successfully loaded. The other
libraries like glib, pango and gst return true like expected.

I’ve searched around, but found no reason for this.

Cheers, detlef


http://det.cable.nu

Detlef R. schrieb:

the Gtk based libraries like gtk, gnome and panel-applet return false
from the require call, even if they are successfully loaded. The other
libraries like glib, pango and gst return true like expected.

after I compiled ruby from source, the problem was gone. Strange…

Cheers, detlef


http://det.cable.nu

Hi,

In [email protected]
“[ruby-gnome2-devel-en] Gtk based libs return false on require” on
Mon, 1 Jun 2009 14:18:46 +0200,
Detlef R. [email protected] wrote:

the Gtk based libraries like gtk, gnome and panel-applet return false
from the require call, even if they are successfully loaded. The other
libraries like glib, pango and gst return true like expected.

I’ve searched around, but found no reason for this.

I couldn’t reproduce it:

% irb
irb(main):001:0> require ‘gtk2’
=> true
irb(main):002:0> require ‘gtk2’
=> false

Thanks,

kou