[gnome-builder/wip/gtk4-port: 905/1774] plugins/vim: fix discard callback
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 905/1774] plugins/vim: fix discard callback
- Date: Mon, 11 Jul 2022 22:31:27 +0000 (UTC)
commit 151086849ed769aa00ee19c0d60cf58eb6e99286
Author: Christian Hergert <chergert redhat com>
Date: Fri May 6 17:57:01 2022 -0700
plugins/vim: fix discard callback
src/plugins/vim/gbp-vim-editor-page-addin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/vim/gbp-vim-editor-page-addin.c b/src/plugins/vim/gbp-vim-editor-page-addin.c
index 0b6831c94..12bcf068a 100644
--- a/src/plugins/vim/gbp-vim-editor-page-addin.c
+++ b/src/plugins/vim/gbp-vim-editor-page-addin.c
@@ -402,7 +402,7 @@ gbp_vim_editor_page_addin_execute_command_cb (GbpVimEditorPageAddin *self,
ide_editor_page_discard_changes_async (self->page,
NULL,
gbp_vim_editor_page_addin_discard_cb,
- NULL);
+ g_object_ref (self));
IDE_RETURN (TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]