[Gtk-sharp-list] segfault on void object
martin.persenius at gmail.com
Mon Mar 26 12:26:00 EDT 2007
Forgot the recreation part, I am so sorry!
There are two classes. The second (SettingsWindow) is derived from
Gtk.Window. The first class creates an instance of the second in the private
variable settings_window. The first class then calls settings_window.Show().
This works. The second class then receives OnDeleteEvent which runs
this.Hide();. The user then accesses a menu so that the
settings_window.Show(); is run again. This time the application crashes and
it says that it is a void object.
Again, sorry for missing including this the first time around. I am tired
after bending my head on this for hours.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list