[gnome-software: 11/25] gs-plugin-job-refine: Rearrange private struct members




commit 1f8e677a7af1924978baeeead800a8d645991d32
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Feb 23 16:33:22 2022 +0000

    gs-plugin-job-refine: Rearrange private struct members
    
    This makes their separate lifetimes a little clearer.
    
    This commit introduces no functional changes.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1658

 lib/gs-plugin-job-refine.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/lib/gs-plugin-job-refine.c b/lib/gs-plugin-job-refine.c
index f99ffee31..36aee5c08 100644
--- a/lib/gs-plugin-job-refine.c
+++ b/lib/gs-plugin-job-refine.c
@@ -55,9 +55,12 @@ struct _GsPluginJobRefine
 {
        GsPluginJob parent;
 
+       /* Input data. */
        GsAppList *app_list;  /* (owned) */
-       GsAppList *result_list;  /* (owned) (nullable) */
        GsPluginRefineFlags flags;
+
+       /* Output data. */
+       GsAppList *result_list;  /* (owned) (nullable) */
 };
 
 G_DEFINE_TYPE (GsPluginJobRefine, gs_plugin_job_refine, GS_TYPE_PLUGIN_JOB)


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