[nautilus/gnome-3-28: 1/2] Update nautilus-view-icon-controller.c: add NULL initialization to ptrs
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-28: 1/2] Update nautilus-view-icon-controller.c: add NULL initialization to ptrs
- Date: Fri, 23 Mar 2018 07:44:54 +0000 (UTC)
commit 57a2ae7906ca113ef6c4dc439e119041e201d883
Author: Josue Hernandez <megadavidtor gmail com>
Date: Fri Mar 23 00:16:10 2018 +0000
Update nautilus-view-icon-controller.c: add NULL initialization to ptrs
g_autoptr (GQueue) files_queue = NULL;
g_autoptr (GQueue) item_models = NULL;
Signed-off-by: Josue David Hernandez <josue d hernandez gutierrez intel com>
src/nautilus-view-icon-controller.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-view-icon-controller.c b/src/nautilus-view-icon-controller.c
index 8912ace7d..fcd2ce744 100644
--- a/src/nautilus-view-icon-controller.c
+++ b/src/nautilus-view-icon-controller.c
@@ -834,8 +834,8 @@ real_add_files (NautilusFilesView *files_view,
GList *files)
{
NautilusViewIconController *self = NAUTILUS_VIEW_ICON_CONTROLLER (files_view);
- g_autoptr (GQueue) files_queue;
- g_autoptr (GQueue) item_models;
+ g_autoptr (GQueue) files_queue = NULL;
+ g_autoptr (GQueue) item_models = NULL;
files_queue = convert_glist_to_queue (files);
item_models = convert_files_to_item_models (self, files_queue);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]