[gnome-software] trivial: Fix gs_app_list_new() to have the right types
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix gs_app_list_new() to have the right types
- Date: Thu, 19 May 2016 19:53:53 +0000 (UTC)
commit a738dc66c8317638476003414f11232eb4a8f13d
Author: Richard Hughes <richard hughsie com>
Date: Thu May 19 20:28:02 2016 +0100
trivial: Fix gs_app_list_new() to have the right types
src/gs-app-list.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-app-list.c b/src/gs-app-list.c
index 4fcdc23..e9b5860 100644
--- a/src/gs-app-list.c
+++ b/src/gs-app-list.c
@@ -314,9 +314,9 @@ gs_app_list_init (GsAppList *list)
GsAppList *
gs_app_list_new (void)
{
- GsApp *app;
- app = g_object_new (GS_TYPE_APP_LIST, NULL);
- return GS_APP_LIST (app);
+ GsAppList *list;
+ list = g_object_new (GS_TYPE_APP_LIST, NULL);
+ return GS_APP_LIST (list);
}
/* vim: set noexpandtab: */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]