[gnome-software] gs-app-list: Simplify an enum declaration
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] gs-app-list: Simplify an enum declaration
- Date: Thu, 14 May 2020 15:00:56 +0000 (UTC)
commit 5444d0b4bffe34c9da4be9b156e6c0f6526307f9
Author: Philip Withnall <withnall endlessm com>
Date: Tue Apr 21 16:47:25 2020 +0100
gs-app-list: Simplify an enum declaration
This introduces no functional changes.
Signed-off-by: Philip Withnall <withnall endlessm com>
lib/gs-app-list.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/lib/gs-app-list.c b/lib/gs-app-list.c
index cf3d17b7..3030f296 100644
--- a/lib/gs-app-list.c
+++ b/lib/gs-app-list.c
@@ -38,8 +38,7 @@ struct _GsAppList
G_DEFINE_TYPE (GsAppList, gs_app_list, G_TYPE_OBJECT)
enum {
- PROP_0,
- PROP_STATE,
+ PROP_STATE = 1,
PROP_PROGRESS,
PROP_LAST
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]