Task #61678 - fixed.err
back to task #61678download
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘authority_get_async_cb’
polkit-126/src/polkit/polkitauthority.c:463:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-126/src/polkit/polkitauthority.h:30: included_from: Included from here.
polkit-126/src/polkit/polkitauthority.c:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 461| {
# 462| g_assert (error != NULL);
# 463|-> g_simple_async_result_set_from_error (simple, error);
# 464| g_error_free (error);
# 465| g_object_unref (source_object);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:469:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
# 467| else
# 468| {
# 469|-> g_simple_async_result_set_op_res_gpointer (simple,
# 470| source_object,
# 471| g_object_unref);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:473:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 471| g_object_unref);
# 472| }
# 473|-> g_simple_async_result_complete_in_idle (simple);
# 474| g_object_unref (simple);
# 475| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_get_async’
polkit-126/src/polkit/polkitauthority.c:503:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 501| g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
# 502|
# 503|-> simple = g_simple_async_result_new (NULL,
# 504| callback,
# 505| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:513:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 511| {
# 512| g_assert (error != NULL);
# 513|-> g_simple_async_result_set_from_error (simple, error);
# 514| g_error_free (error);
# 515| g_simple_async_result_complete_in_idle (simple);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:515:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 513| g_simple_async_result_set_from_error (simple, error);
# 514| g_error_free (error);
# 515|-> g_simple_async_result_complete_in_idle (simple);
# 516| g_object_unref (simple);
# 517| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_get_finish’
polkit-126/src/polkit/polkitauthority.c:551:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 549| simple = G_SIMPLE_ASYNC_RESULT (res);
# 550|
# 551|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_authority_get_async);
# 552|
# 553| ret = NULL;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:555:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
# 553| ret = NULL;
# 554|
# 555|-> if (g_simple_async_result_propagate_error (simple, error))
# 556| goto out;
# 557|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:558:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 556| goto out;
# 557|
# 558|-> object = g_simple_async_result_get_op_res_gpointer (simple);
# 559| g_assert (object != NULL);
# 560| ret = g_object_ref (POLKIT_AUTHORITY (object));
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘generic_async_cb’
polkit-126/src/polkit/polkitauthority.c:657:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
# 655| {
# 656| GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (user_data);
# 657|-> g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (res), g_object_unref);
# 658| g_simple_async_result_complete (simple);
# 659| g_object_unref (simple);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:658:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 656| GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (user_data);
# 657| g_simple_async_result_set_op_res_gpointer (simple, g_object_ref (res), g_object_unref);
# 658|-> g_simple_async_result_complete (simple);
# 659| g_object_unref (simple);
# 660| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_actions’
polkit-126/src/polkit/polkitauthority.c:695:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 693| cancellable,
# 694| generic_async_cb,
# 695|-> g_simple_async_result_new (G_OBJECT (authority),
# 696| callback,
# 697| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_actions_finish’
polkit-126/src/polkit/polkitauthority.c:732:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 730| ret = NULL;
# 731|
# 732|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_actions);
# 733| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 734|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:733:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 731|
# 732| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_actions);
# 733|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 734|
# 735| value = g_dbus_proxy_call_finish (authority->proxy, _res, error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘check_authorization_cb’
polkit-126/src/polkit/polkitauthority.c:847:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 845| NULL);
# 846| }
# 847|-> g_simple_async_result_set_from_error (data->simple, error);
# 848| g_error_free (error);
# 849| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:858:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
# 856| g_variant_unref (result_value);
# 857| g_variant_unref (value);
# 858|-> g_simple_async_result_set_op_res_gpointer (data->simple, result, g_object_unref);
# 859| }
# 860|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:861:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 859| }
# 860|
# 861|-> g_simple_async_result_complete (data->simple);
# 862|
# 863| g_object_unref (data->authority);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_check_authorization’
polkit-126/src/polkit/polkitauthority.c:925:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 923| data = g_new0 (CheckAuthData, 1);
# 924| data->authority = g_object_ref (authority);
# 925|-> data->simple = g_simple_async_result_new (G_OBJECT (authority),
# 926| callback,
# 927| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_check_authorization_finish’
polkit-126/src/polkit/polkitauthority.c:973:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
# 971| ret = NULL;
# 972|
# 973|-> if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error))
# 974| goto out;
# 975|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:976:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 974| goto out;
# 975|
# 976|-> ret = g_object_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 977|
# 978| out:
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent’
polkit-126/src/polkit/polkitauthority.c:1094:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 1092| cancellable,
# 1093| generic_async_cb,
# 1094|-> g_simple_async_result_new (G_OBJECT (authority),
# 1095| callback,
# 1096| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_finish’
polkit-126/src/polkit/polkitauthority.c:1125:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 1123| ret = FALSE;
# 1124|
# 1125|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent);
# 1126| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1127|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:1126:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 1124|
# 1125| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent);
# 1126|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1127|
# 1128| value = g_dbus_proxy_call_finish (authority->proxy, _res, error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_with_options’
polkit-126/src/polkit/polkitauthority.c:1247:26: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 1245| cancellable,
# 1246| generic_async_cb,
# 1247|-> g_simple_async_result_new (G_OBJECT (authority),
# 1248| callback,
# 1249| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:1264:26: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 1262| cancellable,
# 1263| generic_async_cb,
# 1264|-> g_simple_async_result_new (G_OBJECT (authority),
# 1265| callback,
# 1266| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_register_authentication_agent_with_options_finish’
polkit-126/src/polkit/polkitauthority.c:1297:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 1295| ret = FALSE;
# 1296|
# 1297|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent_with_options);
# 1298| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1299|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:1298:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 1296|
# 1297| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_register_authentication_agent_with_options);
# 1298|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1299|
# 1300| value = g_dbus_proxy_call_finish (authority->proxy, _res, error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_unregister_authentication_agent’
polkit-126/src/polkit/polkitauthority.c:1404:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 1402| cancellable,
# 1403| generic_async_cb,
# 1404|-> g_simple_async_result_new (G_OBJECT (authority),
# 1405| callback,
# 1406| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_unregister_authentication_agent_finish’
polkit-126/src/polkit/polkitauthority.c:1435:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 1433| ret = FALSE;
# 1434|
# 1435|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_unregister_authentication_agent);
# 1436| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1437|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:1436:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 1434|
# 1435| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_unregister_authentication_agent);
# 1436|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1437|
# 1438| value = g_dbus_proxy_call_finish (authority->proxy, _res, error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_authentication_agent_response_with_subject’
polkit-126/src/polkit/polkitauthority.c:1544:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 1542| cancellable,
# 1543| generic_async_cb,
# 1544|-> g_simple_async_result_new (G_OBJECT (authority),
# 1545| callback,
# 1546| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_authentication_agent_response’
polkit-126/src/polkit/polkitauthority.c:1606:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 1604| cancellable,
# 1605| generic_async_cb,
# 1606|-> g_simple_async_result_new (G_OBJECT (authority),
# 1607| callback,
# 1608| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_authentication_agent_response_finish’
polkit-126/src/polkit/polkitauthority.c:1637:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 1635| ret = FALSE;
# 1636|
# 1637|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_authentication_agent_response);
# 1638| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1639|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:1638:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 1636|
# 1637| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_authentication_agent_response);
# 1638|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1639|
# 1640| value = g_dbus_proxy_call_finish (authority->proxy, _res, error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_temporary_authorizations’
polkit-126/src/polkit/polkitauthority.c:1779:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 1777| cancellable,
# 1778| generic_async_cb,
# 1779|-> g_simple_async_result_new (G_OBJECT (authority),
# 1780| callback,
# 1781| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_enumerate_temporary_authorizations_finish’
polkit-126/src/polkit/polkitauthority.c:1816:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 1814| ret = NULL;
# 1815|
# 1816|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_temporary_authorizations);
# 1817| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1818|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:1817:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 1815|
# 1816| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_enumerate_temporary_authorizations);
# 1817|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1818|
# 1819| value = g_dbus_proxy_call_finish (authority->proxy, _res, error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorizations’
polkit-126/src/polkit/polkitauthority.c:1928:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 1926| cancellable,
# 1927| generic_async_cb,
# 1928|-> g_simple_async_result_new (G_OBJECT (authority),
# 1929| callback,
# 1930| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorizations_finish’
polkit-126/src/polkit/polkitauthority.c:1959:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 1957| ret = FALSE;
# 1958|
# 1959|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorizations);
# 1960| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1961|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:1960:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 1958|
# 1959| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorizations);
# 1960|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 1961|
# 1962| value = g_dbus_proxy_call_finish (authority->proxy, _res, error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorization_by_id’
polkit-126/src/polkit/polkitauthority.c:2048:22: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 2046| cancellable,
# 2047| generic_async_cb,
# 2048|-> g_simple_async_result_new (G_OBJECT (authority),
# 2049| callback,
# 2050| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c: scope_hint: In function ‘polkit_authority_revoke_temporary_authorization_by_id_finish’
polkit-126/src/polkit/polkitauthority.c:2079:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 2077| ret = FALSE;
# 2078|
# 2079|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorization_by_id);
# 2080| _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 2081|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitauthority.c:2080:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 2078|
# 2079| g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) == polkit_authority_revoke_temporary_authorization_by_id);
# 2080|-> _res = G_ASYNC_RESULT (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
# 2081|
# 2082| value = g_dbus_proxy_call_finish (authority->proxy, _res, error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_cb’
polkit-126/src/polkit/polkitpermission.c:642:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-126/src/polkit/polkitpermission.c:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
# 640| if (polkit_authorization_result_get_dismissed (result))
# 641| {
# 642|-> g_simple_async_result_set_error (data->simple,
# 643| G_IO_ERROR,
# 644| G_IO_ERROR_CANCELLED,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c:650:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
# 648| else
# 649| {
# 650|-> g_simple_async_result_set_error (data->simple,
# 651| POLKIT_ERROR,
# 652| POLKIT_ERROR_FAILED,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c:661:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 659| else
# 660| {
# 661|-> g_simple_async_result_set_from_error (data->simple, error);
# 662| g_error_free (error);
# 663| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c:667:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 665| * due to how PolkitAuthority works
# 666| */
# 667|-> g_simple_async_result_complete (data->simple);
# 668| acquire_data_free (data);
# 669| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_async’
polkit-126/src/polkit/polkitpermission.c:682:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 680| data = g_new0 (AcquireData, 1);
# 681| data->permission = permission;
# 682|-> data->simple = g_simple_async_result_new (G_OBJECT (permission),
# 683| callback,
# 684| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘acquire_finish’
polkit-126/src/polkit/polkitpermission.c:705:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 703|
# 704| simple = G_SIMPLE_ASYNC_RESULT (result);
# 705|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == acquire_async);
# 706|
# 707| if (g_simple_async_result_propagate_error (simple, error))
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c:707:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
# 705| g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == acquire_async);
# 706|
# 707|-> if (g_simple_async_result_propagate_error (simple, error))
# 708| return FALSE;
# 709|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘release_check_cb’
polkit-126/src/polkit/polkitpermission.c:794:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 792| "Error checking authorization for action id %s after releasing the permission: ",
# 793| data->permission->action_id);
# 794|-> g_simple_async_result_set_from_error (data->simple, error);
# 795| g_error_free (error);
# 796| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c:805:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 803| * due to how PolkitAuthority works
# 804| */
# 805|-> g_simple_async_result_complete (data->simple);
# 806| release_data_free (data);
# 807| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘release_cb’
polkit-126/src/polkit/polkitpermission.c:826:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 824| if (!ret)
# 825| {
# 826|-> g_simple_async_result_set_from_error (data->simple, error);
# 827| g_error_free (error);
# 828| /* don't complete in idle since we're already completing in idle
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c:831:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 829| * due to how PolkitAuthority works
# 830| */
# 831|-> g_simple_async_result_complete (data->simple);
# 832| release_data_free (data);
# 833| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘release_async’
polkit-126/src/polkit/polkitpermission.c:862:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 860| data = g_new0 (ReleaseData, 1);
# 861| data->permission = permission;
# 862|-> data->simple = g_simple_async_result_new (G_OBJECT (permission),
# 863| callback,
# 864| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c:869:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
# 867| if (permission->tmp_authz_id == NULL)
# 868| {
# 869|-> g_simple_async_result_set_error (data->simple,
# 870| POLKIT_ERROR,
# 871| POLKIT_ERROR_FAILED,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c:874:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 872| "Cannot release permission: no temporary authorization for action-id %s exist",
# 873| permission->action_id);
# 874|-> g_simple_async_result_complete_in_idle (data->simple);
# 875| release_data_free (data);
# 876| goto out;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c: scope_hint: In function ‘release_finish’
polkit-126/src/polkit/polkitpermission.c:896:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 894|
# 895| simple = G_SIMPLE_ASYNC_RESULT (result);
# 896|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == release_async);
# 897|
# 898| if (g_simple_async_result_propagate_error (simple, error))
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitpermission.c:898:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
# 896| g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == release_async);
# 897|
# 898|-> if (g_simple_async_result_propagate_error (simple, error))
# 899| return FALSE;
# 900|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitsystembusname.c: scope_hint: In function ‘exists_in_thread_func’
polkit-126/src/polkit/polkitsystembusname.c:285:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
# 285 | g_simple_async_result_set_from_error (res, error);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
/usr/include/glib-2.0/gio/gunixfdlist.h:26: included_from: Included from here.
polkit-126/src/polkit/polkitsystembusname.c:23: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 110 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 283| &error))
# 284| {
# 285|-> g_simple_async_result_set_from_error (res, error);
# 286| g_error_free (error);
# 287| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitsystembusname.c: scope_hint: In function ‘polkit_system_bus_name_exists’
polkit-126/src/polkit/polkitsystembusname.c:300:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 300 | simple = g_simple_async_result_new (G_OBJECT (subject),
# | ^~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 48 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 298| g_return_if_fail (POLKIT_IS_SYSTEM_BUS_NAME (subject));
# 299|
# 300|-> simple = g_simple_async_result_new (G_OBJECT (subject),
# 301| callback,
# 302| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitsystembusname.c:304:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_run_in_thread’ is deprecated
# 304 | g_simple_async_result_run_in_thread (simple,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:105:21: note: declared here
# 105 | void g_simple_async_result_run_in_thread (GSimpleAsyncResult *simple,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 302| user_data,
# 303| polkit_system_bus_name_exists);
# 304|-> g_simple_async_result_run_in_thread (simple,
# 305| exists_in_thread_func,
# 306| G_PRIORITY_DEFAULT,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitsystembusname.c: scope_hint: In function ‘polkit_system_bus_name_exists_finish’
polkit-126/src/polkit/polkitsystembusname.c:319:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 319 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_system_bus_name_exists);
# | ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 96 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 317| gboolean ret;
# 318|
# 319|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_system_bus_name_exists);
# 320|
# 321| ret = FALSE;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitsystembusname.c:323:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
# 323 | if (g_simple_async_result_propagate_error (simple, error))
# | ^~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
# 116 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 321| ret = FALSE;
# 322|
# 323|-> if (g_simple_async_result_propagate_error (simple, error))
# 324| goto out;
# 325|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitsystembusname.c:326:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gboolean’ is deprecated
# 326 | ret = g_simple_async_result_get_op_res_gboolean (simple);
# | ^~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:88:21: note: declared here
# 88 | gboolean g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult *simple);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 324| goto out;
# 325|
# 326|-> ret = g_simple_async_result_get_op_res_gboolean (simple);
# 327|
# 328| out:
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitunixprocess.c: scope_hint: In function ‘polkit_unix_process_exists’
polkit-126/src/polkit/polkitunixprocess.c:1150:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 1150 | simple = g_simple_async_result_new (G_OBJECT (subject),
# | ^~~~~~
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-126/src/polkit/polkitunixprocess.h:32: included_from: Included from here.
polkit-126/src/polkit/polkitunixprocess.c:50: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 48 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 1148| {
# 1149| GSimpleAsyncResult *simple;
# 1150|-> simple = g_simple_async_result_new (G_OBJECT (subject),
# 1151| callback,
# 1152| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitunixprocess.c:1154:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
# 1154 | g_simple_async_result_complete (simple);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1152| user_data,
# 1153| polkit_unix_process_exists);
# 1154|-> g_simple_async_result_complete (simple);
# 1155| g_object_unref (simple);
# 1156| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitunixprocess.c: scope_hint: In function ‘polkit_unix_process_exists_finish’
polkit-126/src/polkit/polkitunixprocess.c:1165:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 1165 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_process_exists);
# | ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 96 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1163| GSimpleAsyncResult *simple = G_SIMPLE_ASYNC_RESULT (res);
# 1164|
# 1165|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_process_exists);
# 1166|
# 1167| return polkit_unix_process_exists_sync (subject,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘exists_in_thread_func’
polkit-126/src/polkit/polkitunixsession-systemd.c:384:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
# 384 | g_simple_async_result_set_from_error (res, error);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-126/src/polkit/polkitunixsession.h:30: included_from: Included from here.
polkit-126/src/polkit/polkitunixsession-systemd.c:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 110 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 382| &error))
# 383| {
# 384|-> g_simple_async_result_set_from_error (res, error);
# 385| g_error_free (error);
# 386| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘polkit_unix_session_exists’
polkit-126/src/polkit/polkitunixsession-systemd.c:399:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
# 399 | simple = g_simple_async_result_new (G_OBJECT (subject),
# | ^~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 48 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 397| g_return_if_fail (POLKIT_IS_UNIX_SESSION (subject));
# 398|
# 399|-> simple = g_simple_async_result_new (G_OBJECT (subject),
# 400| callback,
# 401| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitunixsession-systemd.c:403:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_run_in_thread’ is deprecated
# 403 | g_simple_async_result_run_in_thread (simple,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:105:21: note: declared here
# 105 | void g_simple_async_result_run_in_thread (GSimpleAsyncResult *simple,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 401| user_data,
# 402| polkit_unix_session_exists);
# 403|-> g_simple_async_result_run_in_thread (simple,
# 404| exists_in_thread_func,
# 405| G_PRIORITY_DEFAULT,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitunixsession-systemd.c: scope_hint: In function ‘polkit_unix_session_exists_finish’
polkit-126/src/polkit/polkitunixsession-systemd.c:418:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
# 418 | g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_session_exists);
# | ^~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 96 | gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 416| gboolean ret;
# 417|
# 418|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_unix_session_exists);
# 419|
# 420| ret = FALSE;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitunixsession-systemd.c:422:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
# 422 | if (g_simple_async_result_propagate_error (simple, error))
# | ^~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
# 116 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 420| ret = FALSE;
# 421|
# 422|-> if (g_simple_async_result_propagate_error (simple, error))
# 423| goto out;
# 424|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkit/polkitunixsession-systemd.c:425:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gboolean’ is deprecated
# 425 | ret = g_simple_async_result_get_op_res_gboolean (simple);
# | ^~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:88:21: note: declared here
# 88 | gboolean g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult *simple);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 423| goto out;
# 424|
# 425|-> ret = g_simple_async_result_get_op_res_gboolean (simple);
# 426|
# 427| out:
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitagent/polkitagenttextlistener.c: scope_hint: In function ‘on_completed’
polkit-126/src/polkitagent/polkitagenttextlistener.c:310:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-126/src/polkit/polkitactiondescription.h:30: included_from: Included from here.
polkit-126/src/polkit/polkitprivate.h:26: included_from: Included from here.
polkit-126/src/polkitagent/polkitagenttextlistener.c:32: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 308| fflush (listener->tty);
# 309|
# 310|-> g_simple_async_result_complete_in_idle (listener->simple);
# 311|
# 312| g_object_unref (listener->simple);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitagent/polkitagenttextlistener.c: scope_hint: In function ‘polkit_agent_text_listener_initiate_authentication’
polkit-126/src/polkitagent/polkitagenttextlistener.c:561:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 559| PolkitIdentity *identity;
# 560|
# 561|-> simple = g_simple_async_result_new (G_OBJECT (listener),
# 562| callback,
# 563| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitagent/polkitagenttextlistener.c:567:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
# 565| if (listener->active_session != NULL)
# 566| {
# 567|-> g_simple_async_result_set_error (simple,
# 568| POLKIT_ERROR,
# 569| POLKIT_ERROR_FAILED,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitagent/polkitagenttextlistener.c:571:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 569| POLKIT_ERROR_FAILED,
# 570| "An authentication session is already underway.");
# 571|-> g_simple_async_result_complete_in_idle (simple);
# 572| g_object_unref (simple);
# 573| goto out;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitagent/polkitagenttextlistener.c:603:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
# 601| fprintf (listener->tty, "\x1B[0m");
# 602| fflush (listener->tty);
# 603|-> g_simple_async_result_set_error (simple,
# 604| POLKIT_ERROR,
# 605| POLKIT_ERROR_FAILED,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitagent/polkitagenttextlistener.c:607:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 605| POLKIT_ERROR_FAILED,
# 606| "Authentication was canceled.");
# 607|-> g_simple_async_result_complete_in_idle (simple);
# 608| g_object_unref (simple);
# 609| goto out;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitagent/polkitagenttextlistener.c: scope_hint: In function ‘polkit_agent_text_listener_initiate_authentication_finish’
polkit-126/src/polkitagent/polkitagenttextlistener.c:661:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 659| gboolean ret;
# 660|
# 661|-> g_warn_if_fail (g_simple_async_result_get_source_tag (G_SIMPLE_ASYNC_RESULT (res)) ==
# 662| polkit_agent_text_listener_initiate_authentication);
# 663|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitagent/polkitagenttextlistener.c:666:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
# 664| ret = FALSE;
# 665|
# 666|-> if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error))
# 667| goto out;
# 668|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendauthority.c: scope_hint: In function ‘polkit_backend_authority_check_authorization’
polkit-126/src/polkitbackend/polkitbackendauthority.c:226:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new_error’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-126/src/polkit/polkitactiondescription.h:30: included_from: Included from here.
polkit-126/src/polkit/polkit.h:30: included_from: Included from here.
polkit-126/src/polkitbackend/polkitbackendauthority.c:28: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here
# 224| g_warning ("check_authorization is not implemented (it is not optional)");
# 225|
# 226|-> simple = g_simple_async_result_new_error (G_OBJECT (authority),
# 227| callback,
# 228| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendauthority.c:232:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 230| POLKIT_ERROR_NOT_SUPPORTED,
# 231| "Operation not supported (bug in backend)");
# 232|-> g_simple_async_result_complete (simple);
# 233| g_object_unref (simple);
# 234| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendauthority.c: scope_hint: In function ‘polkit_backend_authority_check_authorization_finish’
polkit-126/src/polkitbackend/polkitbackendauthority.c:263:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
# 261| {
# 262| g_warning ("check_authorization_finish is not implemented (it is not optional)");
# 263|-> g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error);
# 264| return NULL;
# 265| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_on_cancelled’
polkit-126/src/polkitbackend/polkitbackendcommon.c:141:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
/usr/include/glib-2.0/gio/gunixfdlist.h:26: included_from: Included from here.
polkit-126/src/polkitbackend/polkitbackendcommon.h:39: included_from: Included from here.
polkit-126/src/polkitbackend/polkitbackendcommon.c:22: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here
# 139| error = NULL;
# 140| g_warn_if_fail (g_cancellable_set_error_if_cancelled (cancellable, &error));
# 141|-> g_simple_async_result_take_error (data->simple, error);
# 142| g_simple_async_result_complete_in_idle (data->simple);
# 143| g_object_unref (data->simple);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c:142:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 140| g_warn_if_fail (g_cancellable_set_error_if_cancelled (cancellable, &error));
# 141| g_simple_async_result_take_error (data->simple, error);
# 142|-> g_simple_async_result_complete_in_idle (data->simple);
# 143| g_object_unref (data->simple);
# 144| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_timeout_cb’
polkit-126/src/polkitbackend/polkitbackendcommon.c:157:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 155|
# 156| /* we're done */
# 157|-> g_simple_async_result_complete_in_idle (data->simple);
# 158| g_object_unref (data->simple);
# 159|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘utils_child_watch_cb’
polkit-126/src/polkitbackend/polkitbackendcommon.c:191:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 189|
# 190| /* we're done */
# 191|-> g_simple_async_result_complete_in_idle (data->simple);
# 192| g_object_unref (data->simple);
# 193| }
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘polkit_backend_common_spawn’
polkit-126/src/polkitbackend/polkitbackendcommon.c:235:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 233| data = g_slice_new0 (UtilsSpawnData);
# 234| data->timeout_seconds = timeout_seconds;
# 235|-> data->simple = g_simple_async_result_new (NULL,
# 236| callback,
# 237| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c:251:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
# 249|
# 250| /* the life-cycle of UtilsSpawnData is tied to its GSimpleAsyncResult */
# 251|-> g_simple_async_result_set_op_res_gpointer (data->simple, data, (GDestroyNotify) utils_spawn_data_free);
# 252|
# 253| error = NULL;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c:260:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here
# 258| if (g_cancellable_set_error_if_cancelled (data->cancellable, &error))
# 259| {
# 260|-> g_simple_async_result_take_error (data->simple, error);
# 261| g_simple_async_result_complete_in_idle (data->simple);
# 262| g_object_unref (data->simple);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c:261:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 259| {
# 260| g_simple_async_result_take_error (data->simple, error);
# 261|-> g_simple_async_result_complete_in_idle (data->simple);
# 262| g_object_unref (data->simple);
# 263| goto out;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c:286:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here
# 284| {
# 285| g_prefix_error (&error, "Error spawning: ");
# 286|-> g_simple_async_result_take_error (data->simple, error);
# 287| g_simple_async_result_complete_in_idle (data->simple);
# 288| g_object_unref (data->simple);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c:287:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here
# 285| g_prefix_error (&error, "Error spawning: ");
# 286| g_simple_async_result_take_error (data->simple, error);
# 287|-> g_simple_async_result_complete_in_idle (data->simple);
# 288| g_object_unref (data->simple);
# 289| goto out;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c: scope_hint: In function ‘polkit_backend_common_spawn_finish’
polkit-126/src/polkitbackend/polkitbackendcommon.c:374:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 372| g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
# 373|
# 374|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_common_spawn);
# 375|
# 376| if (g_simple_async_result_propagate_error (simple, error))
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c:376:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
# 374| g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_common_spawn);
# 375|
# 376|-> if (g_simple_async_result_propagate_error (simple, error))
# 377| goto out;
# 378|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendcommon.c:379:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 377| goto out;
# 378|
# 379|-> data = (UtilsSpawnData*)g_simple_async_result_get_op_res_gpointer (simple);
# 380|
# 381| if (data->timed_out)
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘check_authorization_challenge_cb’
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:753:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here.
polkit-126/src/polkit/polkitactiondescription.h:30: included_from: Included from here.
polkit-126/src/polkit/polkit.h:30: included_from: Included from here.
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:38: included_from: Included from here.
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
# 751| /* log_result (authority, action_id, subject, caller, result); */
# 752|
# 753|-> g_simple_async_result_set_op_res_gpointer (simple,
# 754| result,
# 755| g_object_unref);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:756:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 754| result,
# 755| g_object_unref);
# 756|-> g_simple_async_result_complete (simple);
# 757| g_object_unref (simple);
# 758|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_check_authorization_finish’
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:776:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_source_tag’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:96:21: note: declared here
# 774| simple = G_SIMPLE_ASYNC_RESULT (res);
# 775|
# 776|-> g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == polkit_backend_interactive_authority_check_authorization);
# 777|
# 778| result = NULL;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:780:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here
# 778| result = NULL;
# 779|
# 780|-> if (g_simple_async_result_propagate_error (simple, error))
# 781| goto out;
# 782|
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:783:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here
# 781| goto out;
# 782|
# 783|-> result = g_object_ref (g_simple_async_result_get_op_res_gpointer (simple));
# 784|
# 785| out:
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c: scope_hint: In function ‘polkit_backend_interactive_authority_check_authorization’
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:884:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here
# 882| result = NULL;
# 883|
# 884|-> simple = g_simple_async_result_new (G_OBJECT (authority),
# 885| callback,
# 886| user_data,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:912:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 910| if (error != NULL)
# 911| {
# 912|-> g_simple_async_result_set_from_error (simple, error);
# 913| g_simple_async_result_complete (simple);
# 914| g_object_unref (simple);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:913:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 911| {
# 912| g_simple_async_result_set_from_error (simple, error);
# 913|-> g_simple_async_result_complete (simple);
# 914| g_object_unref (simple);
# 915| g_error_free (error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:927:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 925| if (error != NULL)
# 926| {
# 927|-> g_simple_async_result_set_from_error (simple, error);
# 928| g_simple_async_result_complete (simple);
# 929| g_object_unref (simple);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:928:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 926| {
# 927| g_simple_async_result_set_from_error (simple, error);
# 928|-> g_simple_async_result_complete (simple);
# 929| g_object_unref (simple);
# 930| g_error_free (error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:972:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
# 970| if (has_details)
# 971| {
# 972|-> g_simple_async_result_set_error (simple,
# 973| POLKIT_ERROR,
# 974| POLKIT_ERROR_NOT_AUTHORIZED,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:980:15: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here
# 978| else
# 979| {
# 980|-> g_simple_async_result_set_error (simple,
# 981| POLKIT_ERROR,
# 982| POLKIT_ERROR_NOT_AUTHORIZED,
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:986:11: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 984| "subjects belonging to other identities");
# 985| }
# 986|-> g_simple_async_result_complete (simple);
# 987| g_object_unref (simple);
# 988| goto out;
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:1004:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_from_error’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
# 1002| if (error != NULL)
# 1003| {
# 1004|-> g_simple_async_result_set_from_error (simple, error);
# 1005| g_simple_async_result_complete (simple);
# 1006| g_object_unref (simple);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:1005:7: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 1003| {
# 1004| g_simple_async_result_set_from_error (simple, error);
# 1005|-> g_simple_async_result_complete (simple);
# 1006| g_object_unref (simple);
# 1007| g_error_free (error);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:1045:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here
# 1043|
# 1044| /* Otherwise just return the result */
# 1045|-> g_simple_async_result_set_op_res_gpointer (simple,
# 1046| g_object_ref (result),
# 1047| g_object_unref);
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/polkitbackend/polkitbackendinteractiveauthority.c:1048:3: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here
# 1046| g_object_ref (result),
# 1047| g_object_unref);
# 1048|-> g_simple_async_result_complete (simple);
# 1049| g_object_unref (simple);
# 1050|