[gtksourceview/wip/chergert/vim] clean up in dispose



commit 821a627981c64a86fc24bedf9be1f578b14af541
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 29 12:58:43 2021 -0700

    clean up in dispose

 gtksourceview/vim/gtk-source-vim-normal.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-normal.c b/gtksourceview/vim/gtk-source-vim-normal.c
index f88d3f2b..b45e2dc4 100644
--- a/gtksourceview/vim/gtk-source-vim-normal.c
+++ b/gtksourceview/vim/gtk-source-vim-normal.c
@@ -988,14 +988,14 @@ gtk_source_vim_normal_append_command (GtkSourceVimState *state,
 }
 
 static void
-gtk_source_vim_normal_finalize (GObject *object)
+gtk_source_vim_normal_dispose (GObject *object)
 {
        GtkSourceVimNormal *self = (GtkSourceVimNormal *)object;
 
        g_string_free (self->command_text, TRUE);
        self->command_text = NULL;
 
-       G_OBJECT_CLASS (gtk_source_vim_normal_parent_class)->finalize (object);
+       G_OBJECT_CLASS (gtk_source_vim_normal_parent_class)->dispose (object);
 }
 
 static void
@@ -1004,7 +1004,7 @@ gtk_source_vim_normal_class_init (GtkSourceVimNormalClass *klass)
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
        GtkSourceVimStateClass *state_class = GTK_SOURCE_VIM_STATE_CLASS (klass);
 
-       object_class->finalize = gtk_source_vim_normal_finalize;
+       object_class->dispose = gtk_source_vim_normal_dispose;
 
        state_class->append_command = gtk_source_vim_normal_append_command;
        state_class->handle_keypress = gtk_source_vim_normal_handle_keypress;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]