[gnome-builder] completion: use proper unref function for providers
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] completion: use proper unref function for providers
- Date: Thu, 14 Jun 2018 11:30:24 +0000 (UTC)
commit 3a4f37988d0a0945ba4e3e6a22745371083803f5
Author: Christian Hergert <chergert redhat com>
Date: Thu Jun 14 04:29:15 2018 -0700
completion: use proper unref function for providers
src/libide/completion/ide-completion-context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/completion/ide-completion-context.c b/src/libide/completion/ide-completion-context.c
index 4a7219d9b..d90ab88f5 100644
--- a/src/libide/completion/ide-completion-context.c
+++ b/src/libide/completion/ide-completion-context.c
@@ -175,7 +175,7 @@ ide_completion_context_dispose (GObject *object)
{
IdeCompletionContext *self = (IdeCompletionContext *)object;
- g_clear_pointer (&self->providers, g_ptr_array_unref);
+ g_clear_pointer (&self->providers, g_array_unref);
g_clear_object (&self->completion);
if (self->begin_mark != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]