--- a/libpurple/status.c Tue Jan 23 01:38:28 2024 -0600 +++ b/libpurple/status.c Fri Jan 26 02:33:19 2024 -0600 @@ -87,10 +87,10 @@ PROP_STATUS_TYPE, PROP_PRESENCE, PROP_ACTIVE, - PROP_LAST + N_PROPERTIES, }; -static GParamSpec *properties[PROP_LAST]; +static GParamSpec *properties[N_PROPERTIES] = {NULL, }; G_DEFINE_FINAL_TYPE(PurpleStatus, purple_status, G_TYPE_OBJECT) @@ -1123,7 +1123,7 @@ "Whether the status is active or not.", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); - g_object_class_install_properties(obj_class, PROP_LAST, properties); + g_object_class_install_properties(obj_class, N_PROPERTIES, properties); } PurpleStatus *