Properly cleanup memory for GTK offscreen object

This commit is contained in:
Robinson 2021-03-28 21:56:34 +02:00
parent 571489a77b
commit 0416f0b5d4

View File

@ -121,6 +121,7 @@ class GtkTheme {
} finally { } finally {
if (item != null) { if (item != null) {
Gtk2.gtk_widget_destroy(item); Gtk2.gtk_widget_destroy(item);
Gtk2.gtk_widget_destroy(offscreen);
} }
} }
} }