diff options
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/gtkbufferdisplay.c | 2 | ||||
-rw-r--r-- | src/gtkext/gtkdisplaypanel.c | 5 |
2 files changed, 7 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)); } diff --git a/src/gtkext/gtkdisplaypanel.c b/src/gtkext/gtkdisplaypanel.c index 4b21d8c..3623ced 100644 --- a/src/gtkext/gtkdisplaypanel.c +++ b/src/gtkext/gtkdisplaypanel.c @@ -231,8 +231,13 @@ static void gtk_display_panel_loaded_interface_init(GLoadedPanelInterface *iface static void gtk_display_panel_dispose(GtkDisplayPanel *panel) { + g_clear_object(&panel->hadjustment); + g_clear_object(&panel->vadjustment); + g_clear_object(&panel->options); + g_clear_object(&panel->binary); + G_OBJECT_CLASS(gtk_display_panel_parent_class)->dispose(G_OBJECT(panel)); } |