Gtk based libs return false on require


#1

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


#2

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


#3

Hi,

In removed_email_address@domain.invalid
“[ruby-gnome2-devel-en] Gtk based libs return false on require” on
Mon, 1 Jun 2009 14:18:46 +0200,
Detlef R. removed_email_address@domain.invalid 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