Properly cleanup memory for GTK offscreen object
This commit is contained in:
parent
571489a77b
commit
0416f0b5d4
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user