[gnome-software: 1/18] gs-app: Drop redundant PROP_0 enum member




commit 2754cb9a309696806e508bced6b40044ac0d973e
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu May 27 18:35:00 2021 +0100

    gs-app: Drop redundant PROP_0 enum member
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 lib/gs-app.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/lib/gs-app.c b/lib/gs-app.c
index ef1347cbc..b8e14e575 100644
--- a/lib/gs-app.c
+++ b/lib/gs-app.c
@@ -133,8 +133,7 @@ typedef struct
 } GsAppPrivate;
 
 enum {
-       PROP_0,
-       PROP_ID,
+       PROP_ID = 1,
        PROP_NAME,
        PROP_VERSION,
        PROP_SUMMARY,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]