Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlytico <lytico@users.sourceforge.net>2018-12-11 18:37:19 +0300
committerlytico <lytico@users.sourceforge.net>2018-12-11 18:37:19 +0300
commit00c56339af75ddd1b2598b615fc8027bed8cc69d (patch)
treecae36c739fc30dcd429baa026c6c22f4559e9b1c /Xwt.Gtk/Xwt.GtkBackend
parent1ed5da504c93c816901c9107d2e9f4945fa3e9b0 (diff)
Gtk.ComboBoxBackend: set Widget.RowSeparatorFunc to null on dispose
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend')
-rw-r--r--Xwt.Gtk/Xwt.GtkBackend/ComboBoxBackend.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/ComboBoxBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/ComboBoxBackend.cs
index 1f00511a..547c2a6e 100644
--- a/Xwt.Gtk/Xwt.GtkBackend/ComboBoxBackend.cs
+++ b/Xwt.Gtk/Xwt.GtkBackend/ComboBoxBackend.cs
@@ -188,6 +188,12 @@ namespace Xwt.GtkBackend
{
}
+ protected override void Dispose(bool disposing)
+ {
+ Widget.RowSeparatorFunc = null;
+ base.Dispose(disposing);
+ }
+
#endregion
}
}