Skip to content

Commit

Permalink
Merge pull request #903 from lytico/GtkComboboxFixRowSeparatorFunc1
Browse files Browse the repository at this point in the history
Gtk.ComboBoxBackend: set Widget.RowSeparatorFunc to null on dispose
  • Loading branch information
sevoku committed Dec 12, 2018
2 parents cafb671 + 00c5633 commit df16ea5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Xwt.Gtk/Xwt.GtkBackend/ComboBoxBackend.cs
Expand Up @@ -188,6 +188,12 @@ public void QueueResize (object target, Gtk.TreeIter iter)
{
}

protected override void Dispose(bool disposing)
{
Widget.RowSeparatorFunc = null;
base.Dispose(disposing);
}

#endregion
}
}
Expand Down

0 comments on commit df16ea5

Please sign in to comment.