Donate Share

Ruby-GNOME 2

Tracker: Bugs

5 glade destroy signal problem - ID: 1731601
Last Update: Comment added ( mutoh )

I am running the simple-editor.rb from the
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Simple+Text+Editor

When opening the replace dialog then by closing it pressing the x button
but not the close button (so the destroy button). I then try to open again
the replace dialog and get the following

/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_boxed_type_register_static: assertion
`g_type_from_name (name) == 0' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED
(boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_object_class_install_property: assertion
`G_IS_PARAM_SPEC (pspec)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED
(boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_object_class_install_property: assertion
`G_IS_PARAM_SPEC (pspec)' failed
simple.rb: line 12
GLib-GObject-WARNING **:IA__g_object_notify: object class
`GtkTextBuffer' has no property named `copy-target-list'
simple.rb:249:in `show': destroyed GLib::Object
from simple.rb:249:in `on_replace'
from simple.rb:12:in `to_proc'
from simple.rb:279:in `call'
from simple.rb:279:in `main'
from simple.rb:279

When looking the @replace_dialog it is nil!
Is there a way to override the default destroy or is this the default with
libglade? What do I need to do to prevent the object to be destroyed? or
can recreate that object from the Glade API?

What am I missing? Could it be fixed in a newer version?

I use

ruby 1.8.5 (2006-08-25)
ruby-gnome 0.15.0-1.1
libglade 2.6.0-3

Thanks

Manu


Emmanuel Pinault ( seatmanu ) - 2007-06-05 18:38

5

Closed

Works For Me

Masao Mutoh

None

None

Public


Comments ( 2 )

Date: 2007-06-17 16:46
Sender: mutohProject AdminAccepting Donations


I closed this ticket because it seems to work on 0.16.0.



Date: 2007-06-06 01:17
Sender: ktouProject Admin


Please update Ruby-GNOME2 and try again?


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2007-06-17 16:46 mutoh
resolution_id None 2007-06-17 16:46 mutoh
assigned_to nobody 2007-06-17 16:46 mutoh
close_date - 2007-06-17 16:46 mutoh