[Gtk-sharp-list] segfault on void object

Martin Persenius 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...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070326/998a55fd/attachment-0001.html 

More information about the Gtk-sharp-list mailing list