[gtksourceview/wip/chergert/vim] vim: remove use of g_auto()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim] vim: remove use of g_auto()
- Date: Fri, 12 Nov 2021 05:54:05 +0000 (UTC)
commit 4f8e421543a4ce4b978670ef5d834685cd6ade73
Author: Christian Hergert <chergert redhat com>
Date: Thu Nov 11 21:53:57 2021 -0800
vim: remove use of g_auto()
This slipped through the cracks but cannot be used on MSVC.
gtksourceview/vim/gtksourcevimcommand.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gtksourceview/vim/gtksourcevimcommand.c b/gtksourceview/vim/gtksourcevimcommand.c
index b0cce9f0..ce299d29 100644
--- a/gtksourceview/vim/gtksourcevimcommand.c
+++ b/gtksourceview/vim/gtksourcevimcommand.c
@@ -1031,7 +1031,7 @@ gtk_source_vim_command_set (GtkSourceVimCommand *self)
GtkSourceSearchSettings *search;
GtkSourceBuffer *buffer;
GtkSourceView *view;
- g_auto(GStrv) parts = NULL;
+ char **parts = NULL;
g_assert (GTK_SOURCE_IS_VIM_COMMAND (self));
@@ -1112,6 +1112,8 @@ gtk_source_vim_command_set (GtkSourceVimCommand *self)
gtk_source_view_set_insert_spaces_instead_of_tabs (view, FALSE);
}
}
+
+ g_strfreev (parts);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]