summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkbufferdisplay.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-08 23:05:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-08 23:05:12 (GMT)
commitde379f531ad5fa356b33287196f884550abd2af4 (patch)
treedf15fee4e06c5424de4b01f42baec3005e081091 /src/gtkext/gtkbufferdisplay.c
parent89d41f2629b9d98069fa7c1db70821a14da57523 (diff)
Updated some object destruction processes.
Diffstat (limited to 'src/gtkext/gtkbufferdisplay.c')
-rw-r--r--src/gtkext/gtkbufferdisplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkext/gtkbufferdisplay.c b/src/gtkext/gtkbufferdisplay.c
index f41c4e3..60b1f40 100644
--- a/src/gtkext/gtkbufferdisplay.c
+++ b/src/gtkext/gtkbufferdisplay.c
@@ -207,6 +207,8 @@ static void gtk_buffer_display_dispose(GtkBufferDisplay *display)
{
g_clear_object(&display->view);
+ g_clear_object(&display->cursor);
+
G_OBJECT_CLASS(gtk_buffer_display_parent_class)->dispose(G_OBJECT(display));
}