[gnome-software/1723-installed-updates-papercuts: 6/9] gs-app-row: Flag GObject properties as explicit notify




commit 37ad5449e4bf139ef9901bb52cbc6147ae12e281
Author: Milan Crha <mcrha redhat com>
Date:   Tue Apr 26 10:54:58 2022 +0200

    gs-app-row: Flag GObject properties as explicit notify

 src/gs-app-row.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index 6c3cdad44..0417eba3d 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -780,7 +780,7 @@ gs_app_row_class_init (GsAppRowClass *klass)
        obj_props[PROP_SHOW_SOURCE] =
                g_param_spec_boolean ("show-source", NULL, NULL,
                                      FALSE,
-                                     G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+                                     G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
        /**
         * GsAppRow:show-buttons:
@@ -792,7 +792,7 @@ gs_app_row_class_init (GsAppRowClass *klass)
        obj_props[PROP_SHOW_BUTTONS] =
                g_param_spec_boolean ("show-buttons", NULL, NULL,
                                      FALSE,
-                                     G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+                                     G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
        /**
         * GsAppRow:show-rating:
@@ -828,7 +828,7 @@ gs_app_row_class_init (GsAppRowClass *klass)
        obj_props[PROP_SHOW_INSTALLED_SIZE] =
                g_param_spec_boolean ("show-installed-size", NULL, NULL,
                                      FALSE,
-                                     G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+                                     G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
        /**
         * GsAppRow:is-narrow:


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