[gnome-software] gs-app: Drop usage of G_PARAM_PRIVATE on a property



commit d5705063ed5c6265063039090154c6ade465ff10
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Jul 8 21:35:15 2019 +0100

    gs-app: Drop usage of G_PARAM_PRIVATE on a property
    
    It’s been deprecated since GLib 2.26, and should only be used within
    GLib. Upcoming versions of GLib (2.62+) will warn about its usage.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 lib/gs-app.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/gs-app.c b/lib/gs-app.c
index 2447c604..2bc32011 100644
--- a/lib/gs-app.c
+++ b/lib/gs-app.c
@@ -4323,7 +4323,7 @@ gs_app_class_init (GsAppClass *klass)
         */
        pspec = g_param_spec_uint64 ("pending-action", NULL, NULL,
                                     0, G_MAXUINT64, 0,
-                                    G_PARAM_READABLE | G_PARAM_PRIVATE);
+                                    G_PARAM_READABLE);
        g_object_class_install_property (object_class, PROP_PENDING_ACTION, pspec);
 }
 


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