diff options
author | lytico <lytico@users.sourceforge.net> | 2018-12-11 18:37:19 +0300 |
---|---|---|
committer | lytico <lytico@users.sourceforge.net> | 2018-12-11 18:37:19 +0300 |
commit | 00c56339af75ddd1b2598b615fc8027bed8cc69d (patch) | |
tree | cae36c739fc30dcd429baa026c6c22f4559e9b1c /Xwt.Gtk/Xwt.GtkBackend | |
parent | 1ed5da504c93c816901c9107d2e9f4945fa3e9b0 (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.cs | 6 |
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 } } |