Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/gnome-initial-setup.c: scope_hint: In function ‘destroy_pages_after’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/gnome-initial-setup.c:171:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’ # 169| break; # 170| # 171|-> l = l->next; # 172| for (; l != NULL; l = next) { # 173| next = l->next; Error: COMPILER_WARNING (CWE-477): [#def2] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘show_error_dialog’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:129:3: warning[-Wdeprecated-declarations]: ‘gtk_message_dialog_new’ is deprecated # 129 | dialog = gtk_message_dialog_new (GTK_WINDOW (gtk_widget_get_root (GTK_WIDGET (page))), # | ^~~~~~ /usr/include/gtk-4.0/gtk/gtk.h:192: included_from: Included from here. /usr/include/libadwaita-1/adwaita.h:9: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.h:24: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:24: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkmessagedialog.h:81:12: note: declared here # 81 | GtkWidget* gtk_message_dialog_new (GtkWindow *parent, # | ^~~~~~~~~~~~~~~~~~~~~~ # 127| return; # 128| # 129|-> dialog = gtk_message_dialog_new (GTK_WINDOW (gtk_widget_get_root (GTK_WIDGET (page))), # 130| GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, # 131| GTK_MESSAGE_ERROR, Error: COMPILER_WARNING (CWE-477): [#def3] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:137:5: warning[-Wdeprecated-declarations]: ‘gtk_message_dialog_format_secondary_text’ is deprecated # 137 | gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkmessagedialog.h:101:12: note: declared here # 101 | void gtk_message_dialog_format_secondary_text (GtkMessageDialog *message_dialog, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 135| if (error != NULL) { # 136| g_dbus_error_strip_remote_error (error); # 137|-> gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), # 138| "%s", error->message); # 139| } Error: COMPILER_WARNING (CWE-477): [#def4] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘gis_account_page_enterprise_validate’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:158:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_active_iter’ is deprecated: Use 'GtkDropDown' instead # 158 | if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) { # | ^~ /usr/include/gtk-4.0/gtk/gtk.h:94: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:89:15: note: declared here # 89 | gboolean gtk_combo_box_get_active_iter (GtkComboBox *combo_box, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 156| valid_name = is_valid_name (name); # 157| # 158|-> if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) { # 159| gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)), # 160| &iter, 0, &name, -1); Error: COMPILER_WARNING (CWE-477): [#def5] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:159:5: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_model’ is deprecated: Use 'GtkDropDown' instead # 159 | gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)), # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:100:15: note: declared here # 100 | GtkTreeModel *gtk_combo_box_get_model (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 157| # 158| if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) { # 159|-> gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)), # 160| &iter, 0, &name, -1); # 161| } else { Error: COMPILER_WARNING (CWE-477): [#def6] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:159:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead # 159 | gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)), # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcellarea.h:30: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:64: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here # 369 | void gtk_tree_model_get (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~ # 157| # 158| if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) { # 159|-> gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)), # 160| &iter, 0, &name, -1); # 161| } else { Error: COMPILER_WARNING (CWE-477): [#def7] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘enterprise_add_user’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:587:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_active_iter’ is deprecated: Use 'GtkDropDown' instead # 587 | if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) { # | ^~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:89:15: note: declared here # 89 | gboolean gtk_combo_box_get_active_iter (GtkComboBox *combo_box, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 585| # 586| /* Already know about this realm, try to login as user */ # 587|-> if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) { # 588| gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)), # 589| &iter, 1, &page->realm, -1); Error: COMPILER_WARNING (CWE-477): [#def8] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:588:5: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_model’ is deprecated: Use 'GtkDropDown' instead # 588 | gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)), # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:100:15: note: declared here # 100 | GtkTreeModel *gtk_combo_box_get_model (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 586| /* Already know about this realm, try to login as user */ # 587| if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) { # 588|-> gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)), # 589| &iter, 1, &page->realm, -1); # 590| enterprise_check_login (page); Error: COMPILER_WARNING (CWE-477): [#def9] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:588:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead # 588 | gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)), # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here # 369 | void gtk_tree_model_get (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~ # 586| /* Already know about this realm, try to login as user */ # 587| if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (page->domain), &iter)) { # 588|-> gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (page->domain)), # 589| &iter, 1, &page->realm, -1); # 590| enterprise_check_login (page); Error: COMPILER_WARNING (CWE-477): [#def10] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘model_contains_realm’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:645:3: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get_iter_first’ is deprecated: Use 'GListModel' instead # 645 | ret = gtk_tree_model_get_iter_first (model, &iter); # | ^~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:327:19: note: declared here # 327 | gboolean gtk_tree_model_get_iter_first (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 643| gboolean ret; # 644| # 645|-> ret = gtk_tree_model_get_iter_first (model, &iter); # 646| while (ret) { # 647| gtk_tree_model_get (model, &iter, 0, &name, -1); Error: COMPILER_WARNING (CWE-477): [#def11] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:647:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead # 647 | gtk_tree_model_get (model, &iter, 0, &name, -1); # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here # 369 | void gtk_tree_model_get (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~ # 645| ret = gtk_tree_model_get_iter_first (model, &iter); # 646| while (ret) { # 647|-> gtk_tree_model_get (model, &iter, 0, &name, -1); # 648| match = (g_strcmp0 (name, realm_name) == 0); # 649| g_free (name); Error: COMPILER_WARNING (CWE-477): [#def12] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:655:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_iter_next’ is deprecated: Use 'GListModel' instead # 655 | ret = gtk_tree_model_iter_next (model, &iter); # | ^~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:341:19: note: declared here # 341 | gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 653| break; # 654| } # 655|-> ret = gtk_tree_model_iter_next (model, &iter); # 656| } # 657| Error: COMPILER_WARNING (CWE-477): [#def13] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘enterprise_add_realm’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:678:5: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead # 678 | gtk_list_store_append (GTK_LIST_STORE (page->realms_model), &iter); # | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtkentry.h:39: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:27: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here # 125 | void gtk_list_store_append (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~ # 676| # 677| if (!model_contains_realm (GTK_TREE_MODEL (page->realms_model), name)) { # 678|-> gtk_list_store_append (GTK_LIST_STORE (page->realms_model), &iter); # 679| gtk_list_store_set (GTK_LIST_STORE (page->realms_model), &iter, # 680| 0, name, Error: COMPILER_WARNING (CWE-477): [#def14] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:679:5: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead # 679 | gtk_list_store_set (GTK_LIST_STORE (page->realms_model), &iter, # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here # 81 | void gtk_list_store_set (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~ # 677| if (!model_contains_realm (GTK_TREE_MODEL (page->realms_model), name)) { # 678| gtk_list_store_append (GTK_LIST_STORE (page->realms_model), &iter); # 679|-> gtk_list_store_set (GTK_LIST_STORE (page->realms_model), &iter, # 680| 0, name, # 681| 1, realm, Error: COMPILER_WARNING (CWE-477): [#def15] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:685:7: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_set_active_iter’ is deprecated: Use 'GtkDropDown' instead # 685 | gtk_combo_box_set_active_iter (GTK_COMBO_BOX (page->domain), &iter); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:92:15: note: declared here # 92 | void gtk_combo_box_set_active_iter (GtkComboBox *combo_box, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 683| # 684| if (!page->domain_chosen && um_realm_is_configured (realm)) # 685|-> gtk_combo_box_set_active_iter (GTK_COMBO_BOX (page->domain), &iter); # 686| # 687| g_debug ("added realm to drop down: %s %s", name, Error: COMPILER_WARNING (CWE-477): [#def16] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘on_domain_changed’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:770:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead # 770 | clear_entry_validation_error (GTK_ENTRY (gtk_combo_box_get_child (widget))); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here # 154 | GtkWidget * gtk_combo_box_get_child (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 768| page->domain_chosen = TRUE; # 769| validation_changed (page); # 770|-> clear_entry_validation_error (GTK_ENTRY (gtk_combo_box_get_child (widget))); # 771| } # 772| Error: COMPILER_WARNING (CWE-477): [#def17] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c: scope_hint: In function ‘gis_account_page_enterprise_init’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-enterprise.c:887:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead # 887 | page->domain_entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->domain)); # | ^~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here # 154 | GtkWidget * gtk_combo_box_get_child (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 885| gtk_widget_init_template (GTK_WIDGET (page)); # 886| # 887|-> page->domain_entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->domain)); # 888| } # 889| Error: COMPILER_WARNING (CWE-477): [#def18] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘update_avatar_text’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:102:5: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead # 102 | GtkWidget *entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)); # | ^~~~~~~~~ /usr/include/gtk-4.0/gtk/gtk.h:94: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/gnome-initial-setup.h:25: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/gis-page.h:25: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:24: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here # 154 | GtkWidget * gtk_combo_box_get_child (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 100| # 101| if (*name == '\0') { # 102|-> GtkWidget *entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)); # 103| # 104| name = gtk_editable_get_text (GTK_EDITABLE (entry)); Error: COMPILER_WARNING (CWE-477): [#def19] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘validate’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:124:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead # 124 | entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)); # | ^~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here # 154 | GtkWidget * gtk_combo_box_get_child (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 122| g_clear_handle_id (&page->timeout_id, g_source_remove); # 123| # 124|-> entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)); # 125| # 126| name = gtk_editable_get_text (GTK_EDITABLE (page->fullname_entry)); Error: COMPILER_WARNING (CWE-477): [#def20] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:127:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_text_get_active_text’ is deprecated: Use 'GtkDropDown and GtkStringList' instead # 127 | username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (page->username_combo)); # | ^~~~~~~~ /usr/include/gtk-4.0/gtk/gtk.h:95: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h:57:15: note: declared here # 57 | char *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 125| # 126| name = gtk_editable_get_text (GTK_EDITABLE (page->fullname_entry)); # 127|-> username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (page->username_combo)); # 128| #ifdef HAVE_PARENTAL_CONTROLS # 129| parental_controls_enabled = gtk_check_button_get_active (GTK_CHECK_BUTTON (page->enable_parental_controls_check_button)); Error: COMPILER_WARNING (CWE-477): [#def21] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘fullname_changed’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:169:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead # 169 | entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)); # | ^~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here # 154 | GtkWidget * gtk_combo_box_get_child (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 167| name = gtk_editable_get_text (GTK_EDITABLE (w)); # 168| # 169|-> entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)); # 170| model = gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo)); # 171| Error: COMPILER_WARNING (CWE-477): [#def22] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:170:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_model’ is deprecated: Use 'GtkDropDown' instead # 170 | model = gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo)); # | ^~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:100:15: note: declared here # 100 | GtkTreeModel *gtk_combo_box_get_model (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 168| # 169| entry = gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)); # 170|-> model = gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo)); # 171| # 172| gtk_list_store_clear (GTK_LIST_STORE (model)); Error: COMPILER_WARNING (CWE-477): [#def23] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:172:3: warning[-Wdeprecated-declarations]: ‘gtk_list_store_clear’ is deprecated: Use 'GListStore' instead # 172 | gtk_list_store_clear (GTK_LIST_STORE (model)); # | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtkentry.h:39: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:27: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:128:15: note: declared here # 128 | void gtk_list_store_clear (GtkListStore *list_store); # | ^~~~~~~~~~~~~~~~~~~~ # 170| model = gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo)); # 171| # 172|-> gtk_list_store_clear (GTK_LIST_STORE (model)); # 173| # 174| if ((name == NULL || strlen (name) == 0) && !page->has_custom_username) { Error: COMPILER_WARNING (CWE-477): [#def24] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:180:7: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_set_active’ is deprecated: Use 'GtkDropDown' instead # 180 | gtk_combo_box_set_active (GTK_COMBO_BOX (page->username_combo), 0); # | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:86:15: note: declared here # 86 | void gtk_combo_box_set_active (GtkComboBox *combo_box, # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 178| generate_username_choices (name, GTK_LIST_STORE (model)); # 179| if (!page->has_custom_username) # 180|-> gtk_combo_box_set_active (GTK_COMBO_BOX (page->username_combo), 0); # 181| } # 182| Error: COMPILER_WARNING (CWE-477): [#def25] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘username_changed’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:199:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead # 199 | entry = gtk_combo_box_get_child (GTK_COMBO_BOX (combo)); # | ^~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here # 154 | GtkWidget * gtk_combo_box_get_child (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 197| const gchar *username; # 198| # 199|-> entry = gtk_combo_box_get_child (GTK_COMBO_BOX (combo)); # 200| username = gtk_editable_get_text (GTK_EDITABLE (entry)); # 201| if (*username == '\0') Error: COMPILER_WARNING (CWE-477): [#def26] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:205:12: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_active’ is deprecated: Use 'GtkDropDown' instead # 205 | gtk_combo_box_get_active (GTK_COMBO_BOX (page->username_combo)) > 0) # | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:84:15: note: declared here # 84 | int gtk_combo_box_get_active (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 203| else if (gtk_widget_has_focus (entry) || # 204| gtk_widget_get_focus_child (entry) || # 205|-> gtk_combo_box_get_active (GTK_COMBO_BOX (page->username_combo)) > 0) # 206| page->has_custom_username = TRUE; # 207| Error: COMPILER_WARNING (CWE-477): [#def27] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘gis_account_page_local_constructed’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:301:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_child’ is deprecated: Use 'GtkDropDown' instead # 301 | g_signal_connect_swapped (gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)), # | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:154:15: note: declared here # 154 | GtkWidget * gtk_combo_box_get_child (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 299| track_focus_out (page, page->username_combo); # 300| # 301|-> g_signal_connect_swapped (gtk_combo_box_get_child (GTK_COMBO_BOX (page->username_combo)), # 302| "activate", G_CALLBACK (confirm), page); # 303| g_signal_connect_swapped (page->fullname_entry, "activate", Error: COMPILER_WARNING (CWE-477): [#def28] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:321:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_get_model’ is deprecated: Use 'GtkDropDown' instead # 321 | gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo)))); # | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:100:15: note: declared here # 100 | GtkTreeModel *gtk_combo_box_get_model (GtkComboBox *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~ # 319| g_object_set (page->header, "subtitle", _("We need a few details to complete setup."), NULL); # 320| gtk_editable_set_text (GTK_EDITABLE (page->fullname_entry), ""); # 321|-> gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo)))); # 322| page->has_custom_username = FALSE; # 323| Error: COMPILER_WARNING (CWE-477): [#def29] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:321:3: warning[-Wdeprecated-declarations]: ‘gtk_list_store_clear’ is deprecated: Use 'GListStore' instead # 321 | gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo)))); # | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:128:15: note: declared here # 128 | void gtk_list_store_clear (GtkListStore *list_store); # | ^~~~~~~~~~~~~~~~~~~~ # 319| g_object_set (page->header, "subtitle", _("We need a few details to complete setup."), NULL); # 320| gtk_editable_set_text (GTK_EDITABLE (page->fullname_entry), ""); # 321|-> gtk_list_store_clear (GTK_LIST_STORE (gtk_combo_box_get_model (GTK_COMBO_BOX (page->username_combo)))); # 322| page->has_custom_username = FALSE; # 323| Error: COMPILER_WARNING (CWE-477): [#def30] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘local_create_user’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:464:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_text_get_active_text’ is deprecated: Use 'GtkDropDown and GtkStringList' instead # 464 | username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (local->username_combo)); # | ^~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h:57:15: note: declared here # 57 | char *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 462| g_autoptr(ActUser) parent_user = NULL; # 463| # 464|-> username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (local->username_combo)); # 465| fullname = gtk_editable_get_text (GTK_EDITABLE (local->fullname_entry)); # 466| parental_controls_enabled = gis_driver_get_parental_controls_enabled (page->driver); Error: COMPILER_WARNING (CWE-477): [#def31] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c: scope_hint: In function ‘gis_account_page_local_apply’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/gis-account-page-local.c:607:3: warning[-Wdeprecated-declarations]: ‘gtk_combo_box_text_get_active_text’ is deprecated: Use 'GtkDropDown and GtkStringList' instead # 607 | username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (local->username_combo)); # | ^~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h:57:15: note: declared here # 57 | char *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 605| g_object_freeze_notify (G_OBJECT (driver)); # 606| # 607|-> username = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (local->username_combo)); # 608| gis_driver_set_username (driver, username); # 609| Error: COMPILER_WARNING (CWE-477): [#def32] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘on_provider_new’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:162:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated # 162 | NewClosure *closure = g_simple_async_result_get_op_res_gpointer (async); # | ^~~~~~~~~~ /usr/include/glib-2.0/gio/gio.h:141: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/redhat-linux-build/gnome-initial-setup/pages/account/um-realm-generated.h:12: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.h:24: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:24: included_from: Included from here. /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 76 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 160| { # 161| GSimpleAsyncResult *async = G_SIMPLE_ASYNC_RESULT (user_data); # 162|-> NewClosure *closure = g_simple_async_result_get_op_res_gpointer (async); # 163| GError *error = NULL; # 164| UmRealmProvider *provider; Error: COMPILER_WARNING (CWE-477): [#def33] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:173:17: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated # 173 | g_simple_async_result_take_error (async, error); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here # 113 | void g_simple_async_result_take_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 171| g_debug ("Created realm manager"); # 172| } else { # 173|-> g_simple_async_result_take_error (async, error); # 174| } # 175| g_simple_async_result_complete (async); Error: COMPILER_WARNING (CWE-477): [#def34] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:175:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 175 | g_simple_async_result_complete (async); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 173| g_simple_async_result_take_error (async, error); # 174| } # 175|-> g_simple_async_result_complete (async); # 176| # 177| g_object_unref (async); Error: COMPILER_WARNING (CWE-477): [#def35] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘on_manager_new’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:186:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated # 186 | NewClosure *closure = g_simple_async_result_get_op_res_gpointer (async); # | ^~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 76 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 184| { # 185| GSimpleAsyncResult *async = G_SIMPLE_ASYNC_RESULT (user_data); # 186|-> NewClosure *closure = g_simple_async_result_get_op_res_gpointer (async); # 187| GDBusConnection *connection; # 188| GError *error = NULL; Error: COMPILER_WARNING (CWE-477): [#def36] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:205:17: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated # 205 | g_simple_async_result_take_error (async, error); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here # 113 | void g_simple_async_result_take_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 203| on_provider_new, g_object_ref (async)); # 204| } else { # 205|-> g_simple_async_result_take_error (async, error); # 206| g_simple_async_result_complete (async); # 207| } Error: COMPILER_WARNING (CWE-477): [#def37] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:206:17: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 206 | g_simple_async_result_complete (async); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 204| } else { # 205| g_simple_async_result_take_error (async, error); # 206|-> g_simple_async_result_complete (async); # 207| } # 208| Error: COMPILER_WARNING (CWE-477): [#def38] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘um_realm_manager_new’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:222:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead # 222 | async = g_simple_async_result_new (NULL, callback, user_data, # | ^~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 48 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 220| g_debug ("Connecting to realmd..."); # 221| # 222|-> async = g_simple_async_result_new (NULL, callback, user_data, # 223| um_realm_manager_new); # 224| closure = g_slice_new (NewClosure); Error: COMPILER_WARNING (CWE-477): [#def39] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:226:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated # 226 | g_simple_async_result_set_op_res_gpointer (async, closure, new_closure_free); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here # 72 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 224| closure = g_slice_new (NewClosure); # 225| closure->cancellable = cancellable ? g_object_ref (cancellable) : NULL; # 226|-> g_simple_async_result_set_op_res_gpointer (async, closure, new_closure_free); # 227| # 228| g_async_initable_new_async (UM_TYPE_REALM_MANAGER, G_PRIORITY_DEFAULT, Error: COMPILER_WARNING (CWE-477): [#def40] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘um_realm_manager_new_finish’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:247:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_is_valid’ is deprecated # 247 | g_return_val_if_fail (g_simple_async_result_is_valid (result, NULL, # | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:132:21: note: declared here # 132 | gboolean g_simple_async_result_is_valid (GAsyncResult *result, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 245| NewClosure *closure; # 246| # 247|-> g_return_val_if_fail (g_simple_async_result_is_valid (result, NULL, # 248| um_realm_manager_new), NULL); # 249| Error: COMPILER_WARNING (CWE-477): [#def41] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:251:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated # 251 | if (g_simple_async_result_propagate_error (async, error)) # | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 116 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 249| # 250| async = G_SIMPLE_ASYNC_RESULT (result); # 251|-> if (g_simple_async_result_propagate_error (async, error)) # 252| return NULL; # 253| Error: COMPILER_WARNING (CWE-477): [#def42] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:254:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated # 254 | closure = g_simple_async_result_get_op_res_gpointer (async); # | ^~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 76 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 252| return NULL; # 253| # 254|-> closure = g_simple_async_result_get_op_res_gpointer (async); # 255| return g_object_ref (closure->manager); # 256| } Error: COMPILER_WARNING (CWE-477): [#def43] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘on_provider_discover’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:280:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated # 280 | DiscoverClosure *discover = g_simple_async_result_get_op_res_gpointer (async); # | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 76 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 278| { # 279| GSimpleAsyncResult *async = G_SIMPLE_ASYNC_RESULT (user_data); # 280|-> DiscoverClosure *discover = g_simple_async_result_get_op_res_gpointer (async); # 281| GDBusObject *object; # 282| GError *error = NULL; Error: COMPILER_WARNING (CWE-477): [#def44] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:309:25: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_error’ is deprecated # 309 | g_simple_async_result_set_error (async, UM_REALM_ERROR, UM_REALM_ERROR_GENERIC, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:119:21: note: declared here # 119 | void g_simple_async_result_set_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 307| # 308| if (!discover->realms && no_membership) { # 309|-> g_simple_async_result_set_error (async, UM_REALM_ERROR, UM_REALM_ERROR_GENERIC, # 310| _("Cannot automatically join this type of domain")); # 311| } Error: COMPILER_WARNING (CWE-477): [#def45] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:313:17: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_take_error’ is deprecated # 313 | g_simple_async_result_take_error (async, error); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:113:21: note: declared here # 113 | void g_simple_async_result_take_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 311| } # 312| } else { # 313|-> g_simple_async_result_take_error (async, error); # 314| } # 315| Error: COMPILER_WARNING (CWE-477): [#def46] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:316:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete’ is deprecated # 316 | g_simple_async_result_complete (async); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:101:21: note: declared here # 101 | void g_simple_async_result_complete (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 314| } # 315| # 316|-> g_simple_async_result_complete (async); # 317| g_object_unref (async); # 318| } Error: COMPILER_WARNING (CWE-477): [#def47] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘um_realm_manager_discover’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:337:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead # 337 | res = g_simple_async_result_new (G_OBJECT (self), callback, user_data, # | ^~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 48 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 335| g_debug ("Discovering realms for: %s", input); # 336| # 337|-> res = g_simple_async_result_new (G_OBJECT (self), callback, user_data, # 338| um_realm_manager_discover); # 339| discover = g_slice_new0 (DiscoverClosure); Error: COMPILER_WARNING (CWE-477): [#def48] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:342:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated # 342 | g_simple_async_result_set_op_res_gpointer (res, discover, discover_closure_free); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here # 72 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 340| discover->manager = g_object_ref (self); # 341| discover->cancellable = cancellable ? g_object_ref (cancellable) : NULL; # 342|-> g_simple_async_result_set_op_res_gpointer (res, discover, discover_closure_free); # 343| # 344| options = g_variant_new_array (G_VARIANT_TYPE ("{sv}"), NULL, 0); Error: COMPILER_WARNING (CWE-477): [#def49] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘um_realm_manager_discover_finish’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:362:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_is_valid’ is deprecated # 362 | g_return_val_if_fail (g_simple_async_result_is_valid (result, G_OBJECT (self), # | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:132:21: note: declared here # 132 | gboolean g_simple_async_result_is_valid (GAsyncResult *result, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 360| # 361| g_return_val_if_fail (UM_IS_REALM_MANAGER (self), NULL); # 362|-> g_return_val_if_fail (g_simple_async_result_is_valid (result, G_OBJECT (self), # 363| um_realm_manager_discover), NULL); # 364| g_return_val_if_fail (error == NULL || *error == NULL, NULL); Error: COMPILER_WARNING (CWE-477): [#def50] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:367:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_propagate_error’ is deprecated # 367 | if (g_simple_async_result_propagate_error (async, error)) # | ^~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:116:21: note: declared here # 116 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 365| # 366| async = G_SIMPLE_ASYNC_RESULT (result); # 367|-> if (g_simple_async_result_propagate_error (async, error)) # 368| return NULL; # 369| Error: COMPILER_WARNING (CWE-477): [#def51] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:370:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated # 370 | discover = g_simple_async_result_get_op_res_gpointer (async); # | ^~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 76 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 368| return NULL; # 369| # 370|-> discover = g_simple_async_result_get_op_res_gpointer (async); # 371| if (!discover->realms) { # 372| g_set_error (error, UM_REALM_ERROR, UM_REALM_ERROR_GENERIC, Error: COMPILER_WARNING (CWE-477): [#def52] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘on_realm_join_complete’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:488:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_set_op_res_gpointer’ is deprecated # 488 | g_simple_async_result_set_op_res_gpointer (async, g_object_ref (result), g_object_unref); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:72:21: note: declared here # 72 | void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 486| g_debug ("Completed Join() method call"); # 487| # 488|-> g_simple_async_result_set_op_res_gpointer (async, g_object_ref (result), g_object_unref); # 489| g_simple_async_result_complete_in_idle (async); # 490| g_object_unref (async); Error: COMPILER_WARNING (CWE-477): [#def53] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:489:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_complete_in_idle’ is deprecated # 489 | g_simple_async_result_complete_in_idle (async); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:103:21: note: declared here # 103 | void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 487| # 488| g_simple_async_result_set_op_res_gpointer (async, g_object_ref (result), g_object_unref); # 489|-> g_simple_async_result_complete_in_idle (async); # 490| g_object_unref (async); # 491| } Error: COMPILER_WARNING (CWE-477): [#def54] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘realm_join_as_owner’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:521:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead # 521 | async = g_simple_async_result_new (G_OBJECT (realm), callback, user_data, # | ^~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:48:21: note: declared here # 48 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 519| } # 520| # 521|-> async = g_simple_async_result_new (G_OBJECT (realm), callback, user_data, # 522| realm_join_as_owner); # 523| Error: COMPILER_WARNING (CWE-477): [#def55] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c: scope_hint: In function ‘um_realm_join_finish’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-realm-manager.c:611:9: warning[-Wdeprecated-declarations]: ‘g_simple_async_result_get_op_res_gpointer’ is deprecated # 611 | async = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (result)); # | ^~~~~ /usr/include/glib-2.0/gio/gsimpleasyncresult.h:76:21: note: declared here # 76 | gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 609| g_return_val_if_fail (membership != NULL, FALSE); # 610| # 611|-> async = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (result)); # 612| um_realm_kerberos_membership_call_join_finish (membership, async, &call_error); # 613| g_object_unref (membership); Error: COMPILER_WARNING (CWE-477): [#def56] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c: scope_hint: In function ‘generate_username_choices’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:193:9: warning[-Wdeprecated-declarations]: ‘gtk_list_store_clear’ is deprecated: Use 'GListStore' instead # 193 | gtk_list_store_clear (store); # | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtkentry.h:39: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:27: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:94: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.h:26: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:34: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:128:15: note: declared here # 128 | void gtk_list_store_clear (GtkListStore *list_store); # | ^~~~~~~~~~~~~~~~~~~~ # 191| GtkTreeIter iter; # 192| # 193|-> gtk_list_store_clear (store); # 194| # 195| ascii_name = g_convert_with_fallback (name, -1, "ASCII//TRANSLIT", "UTF-8", Error: COMPILER_WARNING (CWE-477): [#def57] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:321:17: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead # 321 | gtk_list_store_append (store, &iter); # | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here # 125 | void gtk_list_store_append (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~ # 319| in_use = is_username_used (item0->str); # 320| if (!in_use && !g_ascii_isdigit (item0->str[0])) { # 321|-> gtk_list_store_append (store, &iter); # 322| gtk_list_store_set (store, &iter, 0, item0->str, -1); # 323| g_hash_table_insert (items, item0->str, item0->str); Error: COMPILER_WARNING (CWE-477): [#def58] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:322:17: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead # 322 | gtk_list_store_set (store, &iter, 0, item0->str, -1); # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here # 81 | void gtk_list_store_set (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~ # 320| if (!in_use && !g_ascii_isdigit (item0->str[0])) { # 321| gtk_list_store_append (store, &iter); # 322|-> gtk_list_store_set (store, &iter, 0, item0->str, -1); # 323| g_hash_table_insert (items, item0->str, item0->str); # 324| } Error: COMPILER_WARNING (CWE-477): [#def59] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:329:17: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead # 329 | gtk_list_store_append (store, &iter); # | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here # 125 | void gtk_list_store_append (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~ # 327| same_as_initial = (g_strcmp0 (item0->str, item1->str) == 0); # 328| if (!same_as_initial && nwords2 > 0 && !in_use && !g_ascii_isdigit (item1->str[0])) { # 329|-> gtk_list_store_append (store, &iter); # 330| gtk_list_store_set (store, &iter, 0, item1->str, -1); # 331| g_hash_table_insert (items, item1->str, item1->str); Error: COMPILER_WARNING (CWE-477): [#def60] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:330:17: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead # 330 | gtk_list_store_set (store, &iter, 0, item1->str, -1); # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here # 81 | void gtk_list_store_set (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~ # 328| if (!same_as_initial && nwords2 > 0 && !in_use && !g_ascii_isdigit (item1->str[0])) { # 329| gtk_list_store_append (store, &iter); # 330|-> gtk_list_store_set (store, &iter, 0, item1->str, -1); # 331| g_hash_table_insert (items, item1->str, item1->str); # 332| } Error: COMPILER_WARNING (CWE-477): [#def61] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:340:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead # 340 | gtk_list_store_append (store, &iter); # | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here # 125 | void gtk_list_store_append (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~ # 338| if (!in_use && !g_ascii_isdigit (item2->str[0]) && # 339| !g_hash_table_lookup (items, item2->str)) { # 340|-> gtk_list_store_append (store, &iter); # 341| gtk_list_store_set (store, &iter, 0, item2->str, -1); # 342| g_hash_table_insert (items, item2->str, item2->str); Error: COMPILER_WARNING (CWE-477): [#def62] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:341:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead # 341 | gtk_list_store_set (store, &iter, 0, item2->str, -1); # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here # 81 | void gtk_list_store_set (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~ # 339| !g_hash_table_lookup (items, item2->str)) { # 340| gtk_list_store_append (store, &iter); # 341|-> gtk_list_store_set (store, &iter, 0, item2->str, -1); # 342| g_hash_table_insert (items, item2->str, item2->str); # 343| } Error: COMPILER_WARNING (CWE-477): [#def63] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:348:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead # 348 | gtk_list_store_append (store, &iter); # | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here # 125 | void gtk_list_store_append (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~ # 346| if (!in_use && !g_ascii_isdigit (item3->str[0]) && # 347| !g_hash_table_lookup (items, item3->str)) { # 348|-> gtk_list_store_append (store, &iter); # 349| gtk_list_store_set (store, &iter, 0, item3->str, -1); # 350| g_hash_table_insert (items, item3->str, item3->str); Error: COMPILER_WARNING (CWE-477): [#def64] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:349:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead # 349 | gtk_list_store_set (store, &iter, 0, item3->str, -1); # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here # 81 | void gtk_list_store_set (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~ # 347| !g_hash_table_lookup (items, item3->str)) { # 348| gtk_list_store_append (store, &iter); # 349|-> gtk_list_store_set (store, &iter, 0, item3->str, -1); # 350| g_hash_table_insert (items, item3->str, item3->str); # 351| } Error: COMPILER_WARNING (CWE-477): [#def65] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:356:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead # 356 | gtk_list_store_append (store, &iter); # | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here # 125 | void gtk_list_store_append (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~ # 354| if (!in_use && !g_ascii_isdigit (item4->str[0]) && # 355| !g_hash_table_lookup (items, item4->str)) { # 356|-> gtk_list_store_append (store, &iter); # 357| gtk_list_store_set (store, &iter, 0, item4->str, -1); # 358| g_hash_table_insert (items, item4->str, item4->str); Error: COMPILER_WARNING (CWE-477): [#def66] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:357:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead # 357 | gtk_list_store_set (store, &iter, 0, item4->str, -1); # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here # 81 | void gtk_list_store_set (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~ # 355| !g_hash_table_lookup (items, item4->str)) { # 356| gtk_list_store_append (store, &iter); # 357|-> gtk_list_store_set (store, &iter, 0, item4->str, -1); # 358| g_hash_table_insert (items, item4->str, item4->str); # 359| } Error: COMPILER_WARNING (CWE-477): [#def67] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:365:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead # 365 | gtk_list_store_append (store, &iter); # | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here # 125 | void gtk_list_store_append (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~ # 363| if (!in_use && !g_ascii_isdigit (last_word->str[0]) && # 364| !g_hash_table_lookup (items, last_word->str)) { # 365|-> gtk_list_store_append (store, &iter); # 366| gtk_list_store_set (store, &iter, 0, last_word->str, -1); # 367| g_hash_table_insert (items, last_word->str, last_word->str); Error: COMPILER_WARNING (CWE-477): [#def68] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:366:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead # 366 | gtk_list_store_set (store, &iter, 0, last_word->str, -1); # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here # 81 | void gtk_list_store_set (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~ # 364| !g_hash_table_lookup (items, last_word->str)) { # 365| gtk_list_store_append (store, &iter); # 366|-> gtk_list_store_set (store, &iter, 0, last_word->str, -1); # 367| g_hash_table_insert (items, last_word->str, last_word->str); # 368| } Error: COMPILER_WARNING (CWE-477): [#def69] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:374:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_append’ is deprecated: Use 'GListStore' instead # 374 | gtk_list_store_append (store, &iter); # | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:125:15: note: declared here # 125 | void gtk_list_store_append (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~ # 372| if (!in_use && !g_ascii_isdigit (first_word->str[0]) && # 373| !g_hash_table_lookup (items, first_word->str)) { # 374|-> gtk_list_store_append (store, &iter); # 375| gtk_list_store_set (store, &iter, 0, first_word->str, -1); # 376| g_hash_table_insert (items, first_word->str, first_word->str); Error: COMPILER_WARNING (CWE-477): [#def70] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/account/um-utils.c:375:25: warning[-Wdeprecated-declarations]: ‘gtk_list_store_set’ is deprecated: Use 'GListStore' instead # 375 | gtk_list_store_set (store, &iter, 0, first_word->str, -1); # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:81:15: note: declared here # 81 | void gtk_list_store_set (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~ # 373| !g_hash_table_lookup (items, first_word->str)) { # 374| gtk_list_store_append (store, &iter); # 375|-> gtk_list_store_set (store, &iter, 0, first_word->str, -1); # 376| g_hash_table_insert (items, first_word->str, first_word->str); # 377| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def71] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/keyboard/gis-keyboard-page.c: scope_hint: In function ‘get_localed_input’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/keyboard/gis-keyboard-page.c:251:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘layouts’ # 249| n = 0; # 250| # 251|-> for (i = 0; i < n && layouts[i][0]; i++) { # 252| if (variants && variants[i] && variants[i][0]) # 253| id = g_strdup_printf ("%s+%s", layouts[i], variants[i]); Error: COMPILER_WARNING (CWE-477): [#def72] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/summary/gis-summary-page.c: scope_hint: In function ‘gis_summary_page_shown’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/summary/gis-summary-page.c:210:7: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_new’ is deprecated: Use 'adw_alert_dialog_new' instead # 210 | GtkWidget *dialog = adw_message_dialog_new (parent, # | ^~~~~~~~~ /usr/include/libadwaita-1/adwaita.h:62: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/gis-page.h:27: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/gis-assistant.h:24: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/gis-driver.h:25: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/gnome-initial-setup.h:33: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/summary/gis-summary-page.h:25: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/summary/gis-summary-page.c:28: included_from: Included from here. /usr/include/libadwaita-1/adw-message-dialog.h:40:12: note: declared here # 40 | GtkWidget *adw_message_dialog_new (GtkWindow *parent, # | ^~~~~~~~~~~~~~~~~~~~~~ # 208| # 209| GtkWindow *parent = GTK_WINDOW (gtk_widget_get_root (GTK_WIDGET (page))); # 210|-> GtkWidget *dialog = adw_message_dialog_new (parent, # 211| _("Setup Failed"), # 212| local_error->message); Error: COMPILER_WARNING (CWE-477): [#def73] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/summary/gis-summary-page.c:213:7: warning[-Wdeprecated-declarations]: ‘adw_message_dialog_add_response’ is deprecated: Use 'adw_alert_dialog_add_response' instead # 213 | adw_message_dialog_add_response (ADW_MESSAGE_DIALOG (dialog), "close", _("Close")); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libadwaita-1/adw-message-dialog.h:95:6: note: declared here # 95 | void adw_message_dialog_add_response (AdwMessageDialog *self, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 211| _("Setup Failed"), # 212| local_error->message); # 213|-> adw_message_dialog_add_response (ADW_MESSAGE_DIALOG (dialog), "close", _("Close")); # 214| /* FIXME: Provide some more options for debugging or recovery */ # 215| Error: COMPILER_WARNING (CWE-457): [#def74] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/cc-timezone-map.c: scope_hint: In function ‘cc_timezone_map_measure’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/cc-timezone-map.c:129:14: warning[-Wmaybe-uninitialized]: ‘size’ may be used uninitialized # 129 | *minimum = size; # | ~~~~~~~~~^~~~~~ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/cc-timezone-map.c:115:8: note: ‘size’ was declared here # 115 | gint size; # | ^~~~ # 127| # 128| if (minimum != NULL) # 129|-> *minimum = size; # 130| if (natural != NULL) # 131| *natural = size; Error: COMPILER_WARNING (CWE-477): [#def75] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘gis_location_entry_init’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:121:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_new’ is deprecated # 121 | completion = gtk_entry_completion_new (); # | ^~~~~~~~~~ /usr/include/gtk-4.0/gtk/gtkentry.h:39: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:27: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkcombobox.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:94: included_from: Included from here. /usr/include/libadwaita-1/adwaita.h:9: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.h:9: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:9: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:66:21: note: declared here # 66 | GtkEntryCompletion *gtk_entry_completion_new (void); # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 119| gtk_editable_init_delegate (GTK_EDITABLE (entry)); # 120| # 121|-> completion = gtk_entry_completion_new (); # 122| # 123| gtk_entry_completion_set_popup_set_width (completion, TRUE); Error: COMPILER_WARNING (CWE-477): [#def76] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:123:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_popup_set_width’ is deprecated # 123 | gtk_entry_completion_set_popup_set_width (completion, TRUE); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:113:21: note: declared here # 113 | void gtk_entry_completion_set_popup_set_width (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 121| completion = gtk_entry_completion_new (); # 122| # 123|-> gtk_entry_completion_set_popup_set_width (completion, TRUE); # 124| gtk_entry_completion_set_text_column (completion, LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME); # 125| gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); Error: COMPILER_WARNING (CWE-477): [#def77] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:124:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_text_column’ is deprecated # 124 | gtk_entry_completion_set_text_column (completion, LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:127:21: note: declared here # 127 | void gtk_entry_completion_set_text_column (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 122| # 123| gtk_entry_completion_set_popup_set_width (completion, TRUE); # 124|-> gtk_entry_completion_set_text_column (completion, LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME); # 125| gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # 126| gtk_entry_completion_set_inline_completion (completion, TRUE); Error: COMPILER_WARNING (CWE-477): [#def78] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:125:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_match_func’ is deprecated # 125 | gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:80:21: note: declared here # 80 | void gtk_entry_completion_set_match_func (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 123| gtk_entry_completion_set_popup_set_width (completion, TRUE); # 124| gtk_entry_completion_set_text_column (completion, LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME); # 125|-> gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # 126| gtk_entry_completion_set_inline_completion (completion, TRUE); # 127| Error: COMPILER_WARNING (CWE-477): [#def79] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:126:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_inline_completion’ is deprecated # 126 | gtk_entry_completion_set_inline_completion (completion, TRUE); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:98:21: note: declared here # 98 | void gtk_entry_completion_set_inline_completion (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 124| gtk_entry_completion_set_text_column (completion, LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME); # 125| gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # 126|-> gtk_entry_completion_set_inline_completion (completion, TRUE); # 127| # 128| g_signal_connect (completion, "match-selected", Error: COMPILER_WARNING (CWE-477): [#def80] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:134:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_set_completion’ is deprecated # 134 | gtk_entry_set_completion (GTK_ENTRY (entry->priv->entry), completion); # | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/gtkentry.h:160:21: note: declared here # 160 | void gtk_entry_set_completion (GtkEntry *entry, # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 132| G_CALLBACK (_no_matches), entry); # 133| # 134|-> gtk_entry_set_completion (GTK_ENTRY (entry->priv->entry), completion); # 135| g_object_unref (completion); # 136| Error: COMPILER_WARNING (CWE-477): [#def81] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘tree_compare_local_name’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:186:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead # 186 | gtk_tree_model_get (model, a, # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkcellarea.h:30: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:64: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here # 369 | void gtk_tree_model_get (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~ # 184| g_autofree gchar *name_a = NULL, *name_b = NULL; # 185| # 186|-> gtk_tree_model_get (model, a, # 187| LOC_GIS_LOCATION_ENTRY_COL_LOCAL_SORT_NAME, &name_a, # 188| -1); Error: COMPILER_WARNING (CWE-477): [#def82] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:189:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead # 189 | gtk_tree_model_get (model, b, # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here # 369 | void gtk_tree_model_get (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~ # 187| LOC_GIS_LOCATION_ENTRY_COL_LOCAL_SORT_NAME, &name_a, # 188| -1); # 189|-> gtk_tree_model_get (model, b, # 190| LOC_GIS_LOCATION_ENTRY_COL_LOCAL_SORT_NAME, &name_b, # 191| -1); Error: COMPILER_WARNING (CWE-477): [#def83] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘constructed’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:209:5: warning[-Wdeprecated-declarations]: ‘gtk_list_store_new’ is deprecated: Use 'GListStore' instead # 209 | store = gtk_list_store_new (5, G_TYPE_STRING, GWEATHER_TYPE_LOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); # | ^~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:63:15: note: declared here # 63 | GtkListStore *gtk_list_store_new (int n_columns, # | ^~~~~~~~~~~~~~~~~~ # 207| entry->priv->top = gweather_location_get_world (); # 208| # 209|-> store = gtk_list_store_new (5, G_TYPE_STRING, GWEATHER_TYPE_LOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); # 210| gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (store), # 211| tree_compare_local_name, NULL, NULL); Error: COMPILER_WARNING (CWE-477): [#def84] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:210:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_sortable_set_default_sort_func’ is deprecated # 210 | gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (store), # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreeviewcolumn.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtktreeview.h:26: included_from: Included from here. /usr/include/gtk-4.0/gtk/deprecated/gtktreesortable.h:152:10: note: declared here # 152 | void gtk_tree_sortable_set_default_sort_func (GtkTreeSortable *sortable, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 208| # 209| store = gtk_list_store_new (5, G_TYPE_STRING, GWEATHER_TYPE_LOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); # 210|-> gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (store), # 211| tree_compare_local_name, NULL, NULL); # 212| fill_location_entry_model (store, entry->priv->top, NULL, NULL, NULL, NULL, entry->priv->show_named_timezones); Error: COMPILER_WARNING (CWE-477): [#def85] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:215:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_get_completion’ is deprecated # 215 | completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # | ^~~~~~~~~~ /usr/include/gtk-4.0/gtk/gtkentry.h:163:21: note: declared here # 163 | GtkEntryCompletion *gtk_entry_get_completion (GtkEntry *entry); # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 213| # 214| entry->priv->model = GTK_TREE_MODEL (store); # 215|-> completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # 216| gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # 217| gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store)); Error: COMPILER_WARNING (CWE-477): [#def86] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:216:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_match_func’ is deprecated # 216 | gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:80:21: note: declared here # 80 | void gtk_entry_completion_set_match_func (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 214| entry->priv->model = GTK_TREE_MODEL (store); # 215| completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # 216|-> gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # 217| gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store)); # 218| Error: COMPILER_WARNING (CWE-477): [#def87] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:217:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_model’ is deprecated # 217 | gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store)); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:74:21: note: declared here # 74 | void gtk_entry_completion_set_model (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 215| completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # 216| gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # 217|-> gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store)); # 218| # 219| G_OBJECT_CLASS (gis_location_entry_parent_class)->constructed (object); Error: COMPILER_WARNING (CWE-477): [#def88] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘entry_changed’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:316:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_get_completion’ is deprecated # 316 | completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # | ^~~~~~~~~~ /usr/include/gtk-4.0/gtk/gtkentry.h:163:21: note: declared here # 163 | GtkEntryCompletion *gtk_entry_get_completion (GtkEntry *entry); # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 314| const gchar *text; # 315| # 316|-> completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # 317| # 318| if (entry->priv->cancellable) { Error: COMPILER_WARNING (CWE-477): [#def89] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:324:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_match_func’ is deprecated # 324 | gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:80:21: note: declared here # 80 | void gtk_entry_completion_set_match_func (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 322| } # 323| # 324|-> gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # 325| gtk_entry_completion_set_model (completion, entry->priv->model); # 326| Error: COMPILER_WARNING (CWE-477): [#def90] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:325:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_model’ is deprecated # 325 | gtk_entry_completion_set_model (completion, entry->priv->model); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:74:21: note: declared here # 74 | void gtk_entry_completion_set_model (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 323| # 324| gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # 325|-> gtk_entry_completion_set_model (completion, entry->priv->model); # 326| # 327| text = gtk_editable_get_text (GTK_EDITABLE (entry)); Error: COMPILER_WARNING (CWE-477): [#def91] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘set_location_internal’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:361:9: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead # 361 | gtk_tree_model_get (model, iter, # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here # 369 | void gtk_tree_model_get (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~ # 359| # 360| if (iter) { # 361|-> gtk_tree_model_get (model, iter, # 362| LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME, &name, # 363| LOC_GIS_LOCATION_ENTRY_COL_LOCATION, &priv->location, Error: COMPILER_WARNING (CWE-477): [#def92] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘gis_location_entry_set_location’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:403:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_get_completion’ is deprecated # 403 | completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # | ^~~~~~~~~~ /usr/include/gtk-4.0/gtk/gtkentry.h:163:21: note: declared here # 163 | GtkEntryCompletion *gtk_entry_get_completion (GtkEntry *entry); # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 401| g_return_if_fail (GIS_IS_LOCATION_ENTRY (entry)); # 402| # 403|-> completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # 404| model = gtk_entry_completion_get_model (completion); # 405| Error: COMPILER_WARNING (CWE-477): [#def93] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:404:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_get_model’ is deprecated # 404 | model = gtk_entry_completion_get_model (completion); # | ^~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:77:21: note: declared here # 77 | GtkTreeModel *gtk_entry_completion_get_model (GtkEntryCompletion *completion); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 402| # 403| completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # 404|-> model = gtk_entry_completion_get_model (completion); # 405| # 406| if (loc == NULL) { Error: COMPILER_WARNING (CWE-477): [#def94] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:411:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get_iter_first’ is deprecated: Use 'GListModel' instead # 411 | gtk_tree_model_get_iter_first (model, &iter); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:327:19: note: declared here # 327 | gboolean gtk_tree_model_get_iter_first (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 409| } # 410| # 411|-> gtk_tree_model_get_iter_first (model, &iter); # 412| do { # 413| gtk_tree_model_get (model, &iter, Error: COMPILER_WARNING (CWE-477): [#def95] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:413:9: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead # 413 | gtk_tree_model_get (model, &iter, # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here # 369 | void gtk_tree_model_get (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~ # 411| gtk_tree_model_get_iter_first (model, &iter); # 412| do { # 413|-> gtk_tree_model_get (model, &iter, # 414| LOC_GIS_LOCATION_ENTRY_COL_LOCATION, &cmploc, # 415| -1); Error: COMPILER_WARNING (CWE-477): [#def96] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:422:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_iter_next’ is deprecated: Use 'GListModel' instead # 422 | } while (gtk_tree_model_iter_next (model, &iter)); # | ^ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:341:19: note: declared here # 341 | gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 420| # 421| g_clear_object (&cmploc); # 422|-> } while (gtk_tree_model_iter_next (model, &iter)); # 423| # 424| set_location_internal (entry, model, NULL, loc); Error: COMPILER_WARNING (CWE-477): [#def97] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘gis_location_entry_set_city’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:475:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_get_completion’ is deprecated # 475 | completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # | ^~~~~~~~~~ /usr/include/gtk-4.0/gtk/gtkentry.h:163:21: note: declared here # 163 | GtkEntryCompletion *gtk_entry_get_completion (GtkEntry *entry); # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 473| g_return_val_if_fail (code != NULL, FALSE); # 474| # 475|-> completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # 476| model = gtk_entry_completion_get_model (completion); # 477| Error: COMPILER_WARNING (CWE-477): [#def98] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:476:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_get_model’ is deprecated # 476 | model = gtk_entry_completion_get_model (completion); # | ^~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:77:21: note: declared here # 77 | GtkTreeModel *gtk_entry_completion_get_model (GtkEntryCompletion *completion); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 474| # 475| completion = gtk_entry_get_completion (GTK_ENTRY (entry->priv->entry)); # 476|-> model = gtk_entry_completion_get_model (completion); # 477| # 478| gtk_tree_model_get_iter_first (model, &iter); Error: COMPILER_WARNING (CWE-477): [#def99] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:478:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get_iter_first’ is deprecated: Use 'GListModel' instead # 478 | gtk_tree_model_get_iter_first (model, &iter); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:327:19: note: declared here # 327 | gboolean gtk_tree_model_get_iter_first (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 476| model = gtk_entry_completion_get_model (completion); # 477| # 478|-> gtk_tree_model_get_iter_first (model, &iter); # 479| do { # 480| g_autoptr(GWeatherLocation) cmploc = NULL; Error: COMPILER_WARNING (CWE-477): [#def100] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:481:9: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead # 481 | gtk_tree_model_get (model, &iter, # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here # 369 | void gtk_tree_model_get (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~ # 479| do { # 480| g_autoptr(GWeatherLocation) cmploc = NULL; # 481|-> gtk_tree_model_get (model, &iter, # 482| LOC_GIS_LOCATION_ENTRY_COL_LOCATION, &cmploc, # 483| -1); Error: COMPILER_WARNING (CWE-477): [#def101] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:499:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_iter_next’ is deprecated: Use 'GListModel' instead # 499 | } while (gtk_tree_model_iter_next (model, &iter)); # | ^ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:341:19: note: declared here # 341 | gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 497| set_location_internal (entry, model, &iter, NULL); # 498| return TRUE; # 499|-> } while (gtk_tree_model_iter_next (model, &iter)); # 500| # 501| set_location_internal (entry, model, NULL, NULL); Error: COMPILER_WARNING (CWE-477): [#def102] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘fill_location_entry_model’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:586:9: warning[-Wdeprecated-declarations]: ‘gtk_list_store_insert_with_values’ is deprecated: Use 'GListStore' instead # 586 | gtk_list_store_insert_with_values (store, NULL, -1, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:110:15: note: declared here # 110 | void gtk_list_store_insert_with_values (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 584| gweather_location_get_english_sort_name (loc), parent_compare_english_name); # 585| # 586|-> gtk_list_store_insert_with_values (store, NULL, -1, # 587| LOC_GIS_LOCATION_ENTRY_COL_LOCATION, loc, # 588| LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME, display_name, Error: COMPILER_WARNING (CWE-477): [#def103] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:601:13: warning[-Wdeprecated-declarations]: ‘gtk_list_store_insert_with_values’ is deprecated: Use 'GListStore' instead # 601 | gtk_list_store_insert_with_values (store, NULL, -1, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:110:15: note: declared here # 110 | void gtk_list_store_insert_with_values (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 599| case GWEATHER_LOCATION_NAMED_TIMEZONE: # 600| if (show_named_timezones) { # 601|-> gtk_list_store_insert_with_values (store, NULL, -1, # 602| LOC_GIS_LOCATION_ENTRY_COL_LOCATION, loc, # 603| LOC_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME, gweather_location_get_name (loc), Error: COMPILER_WARNING (CWE-477): [#def104] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:706:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_get_model’ is deprecated # 706 | gtk_tree_model_get (gtk_entry_completion_get_model (completion), iter, # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:77:21: note: declared here # 77 | GtkTreeModel *gtk_entry_completion_get_model (GtkEntryCompletion *completion); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 704| gboolean match; # 705| # 706|-> gtk_tree_model_get (gtk_entry_completion_get_model (completion), iter, # 707| LOC_GIS_LOCATION_ENTRY_COL_LOCAL_COMPARE_NAME, &local_compare_name, # 708| LOC_GIS_LOCATION_ENTRY_COL_ENGLISH_COMPARE_NAME, &english_compare_name, Error: COMPILER_WARNING (CWE-477): [#def105] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘matcher’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:706:5: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead # 706 | gtk_tree_model_get (gtk_entry_completion_get_model (completion), iter, # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here # 369 | void gtk_tree_model_get (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~ # 704| gboolean match; # 705| # 706|-> gtk_tree_model_get (gtk_entry_completion_get_model (completion), iter, # 707| LOC_GIS_LOCATION_ENTRY_COL_LOCAL_COMPARE_NAME, &local_compare_name, # 708| LOC_GIS_LOCATION_ENTRY_COL_ENGLISH_COMPARE_NAME, &english_compare_name, Error: COMPILER_WARNING (CWE-477): [#def106] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘match_selected’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:738:9: warning[-Wdeprecated-declarations]: ‘gtk_tree_model_get’ is deprecated: Use 'GListModel' instead # 738 | gtk_tree_model_get (model, iter, # | ^~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreemodel.h:369:19: note: declared here # 369 | void gtk_tree_model_get (GtkTreeModel *tree_model, # | ^~~~~~~~~~~~~~~~~~ # 736| const char* country_code; # 737| # 738|-> gtk_tree_model_get (model, iter, # 739| PLACE_GIS_LOCATION_ENTRY_COL_PLACE, &place, # 740| PLACE_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME, &display_name, Error: COMPILER_WARNING (CWE-477): [#def107] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘fill_store’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:788:5: warning[-Wdeprecated-declarations]: ‘gtk_list_store_insert_with_values’ is deprecated: Use 'GListStore' instead # 788 | gtk_list_store_insert_with_values (user_data, NULL, -1, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:110:15: note: declared here # 110 | void gtk_list_store_insert_with_values (GtkListStore *list_store, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 786| g_debug ("Adding geocode match %s", display_name); # 787| # 788|-> gtk_list_store_insert_with_values (user_data, NULL, -1, # 789| PLACE_GIS_LOCATION_ENTRY_COL_PLACE, place, # 790| PLACE_GIS_LOCATION_ENTRY_COL_DISPLAY_NAME, display_name, Error: COMPILER_WARNING (CWE-477): [#def108] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c: scope_hint: In function ‘_got_places’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:818:5: warning[-Wdeprecated-declarations]: ‘gtk_entry_get_completion’ is deprecated # 818 | completion = gtk_entry_get_completion (GTK_ENTRY (self->priv->entry)); # | ^~~~~~~~~~ /usr/include/gtk-4.0/gtk/gtkentry.h:163:21: note: declared here # 163 | GtkEntryCompletion *gtk_entry_get_completion (GtkEntry *entry); # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 816| # 817| self = GIS_LOCATION_ENTRY (user_data); # 818|-> completion = gtk_entry_get_completion (GTK_ENTRY (self->priv->entry)); # 819| # 820| if (places == NULL) { Error: COMPILER_WARNING (CWE-477): [#def109] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:822:9: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_match_func’ is deprecated # 822 | gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:80:21: note: declared here # 80 | void gtk_entry_completion_set_match_func (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 820| if (places == NULL) { # 821| g_debug ("No geocode results, restoring default model"); # 822|-> gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # 823| gtk_entry_completion_set_model (completion, self->priv->model); # 824| } else { Error: COMPILER_WARNING (CWE-477): [#def110] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:823:9: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_model’ is deprecated # 823 | gtk_entry_completion_set_model (completion, self->priv->model); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:74:21: note: declared here # 74 | void gtk_entry_completion_set_model (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 821| g_debug ("No geocode results, restoring default model"); # 822| gtk_entry_completion_set_match_func (completion, matcher, NULL, NULL); # 823|-> gtk_entry_completion_set_model (completion, self->priv->model); # 824| } else { # 825| store = gtk_list_store_new (5, G_TYPE_STRING, GEOCODE_TYPE_PLACE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); Error: COMPILER_WARNING (CWE-477): [#def111] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:825:9: warning[-Wdeprecated-declarations]: ‘gtk_list_store_new’ is deprecated: Use 'GListStore' instead # 825 | store = gtk_list_store_new (5, G_TYPE_STRING, GEOCODE_TYPE_PLACE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); # | ^~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkliststore.h:63:15: note: declared here # 63 | GtkListStore *gtk_list_store_new (int n_columns, # | ^~~~~~~~~~~~~~~~~~ # 823| gtk_entry_completion_set_model (completion, self->priv->model); # 824| } else { # 825|-> store = gtk_list_store_new (5, G_TYPE_STRING, GEOCODE_TYPE_PLACE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); # 826| gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (store), # 827| tree_compare_local_name, NULL, NULL); Error: COMPILER_WARNING (CWE-477): [#def112] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:826:9: warning[-Wdeprecated-declarations]: ‘gtk_tree_sortable_set_default_sort_func’ is deprecated # 826 | gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (store), # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtktreesortable.h:152:10: note: declared here # 152 | void gtk_tree_sortable_set_default_sort_func (GtkTreeSortable *sortable, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 824| } else { # 825| store = gtk_list_store_new (5, G_TYPE_STRING, GEOCODE_TYPE_PLACE, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); # 826|-> gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (store), # 827| tree_compare_local_name, NULL, NULL); # 828| g_list_foreach (places, fill_store, store); Error: COMPILER_WARNING (CWE-477): [#def113] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:829:9: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_match_func’ is deprecated # 829 | gtk_entry_completion_set_match_func (completion, new_matcher, NULL, NULL); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:80:21: note: declared here # 80 | void gtk_entry_completion_set_match_func (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 827| tree_compare_local_name, NULL, NULL); # 828| g_list_foreach (places, fill_store, store); # 829|-> gtk_entry_completion_set_match_func (completion, new_matcher, NULL, NULL); # 830| gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store)); # 831| } Error: COMPILER_WARNING (CWE-477): [#def114] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/gis-location-entry.c:830:9: warning[-Wdeprecated-declarations]: ‘gtk_entry_completion_set_model’ is deprecated # 830 | gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store)); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h:74:21: note: declared here # 74 | void gtk_entry_completion_set_model (GtkEntryCompletion *completion, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 828| g_list_foreach (places, fill_store, store); # 829| gtk_entry_completion_set_match_func (completion, new_matcher, NULL, NULL); # 830|-> gtk_entry_completion_set_model (completion, GTK_TREE_MODEL (store)); # 831| } # 832| Error: GCC_ANALYZER_WARNING (CWE-775): [#def115] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c: scope_hint: In function ‘tz_load_db’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:61:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tz_data_file_get(), "r")’ # 59| return NULL; # 60| } # 61|-> tzfile = fopen (tz_data_file, "r"); # 62| if (!tzfile) { # 63| g_warning ("Could not open *%s*\n", tz_data_file); Error: GCC_ANALYZER_WARNING (CWE-401): [#def116] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:61:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tz_data_file_get(), "r")’ # 59| return NULL; # 60| } # 61|-> tzfile = fopen (tz_data_file, "r"); # 62| if (!tzfile) { # 63| g_warning ("Could not open *%s*\n", tz_data_file); Error: GCC_ANALYZER_WARNING (CWE-775): [#def117] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:68:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tz_data_file_get(), "r")’ /usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’ # 66| # 67| tz_db = g_new0 (TzDB, 1); # 68|-> tz_db->locations = g_ptr_array_new (); # 69| # 70| while (fgets (buf, sizeof(buf), tzfile)) Error: GCC_ANALYZER_WARNING (CWE-401): [#def118] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:68:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tz_data_file_get(), "r")’ /usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’ # 66| # 67| tz_db = g_new0 (TzDB, 1); # 68|-> tz_db->locations = g_ptr_array_new (); # 69| # 70| while (fgets (buf, sizeof(buf), tzfile)) Error: GCC_ANALYZER_WARNING (CWE-775): [#def119] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:70:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tz_data_file_get(), "r")’ /usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’ # 68| tz_db->locations = g_ptr_array_new (); # 69| # 70|-> while (fgets (buf, sizeof(buf), tzfile)) # 71| { # 72| g_auto(GStrv) tmpstrarr = NULL; Error: GCC_ANALYZER_WARNING (CWE-401): [#def120] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:70:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tz_data_file_get(), "r")’ /usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’ # 68| tz_db->locations = g_ptr_array_new (); # 69| # 70|-> while (fgets (buf, sizeof(buf), tzfile)) # 71| { # 72| g_auto(GStrv) tmpstrarr = NULL; Error: GCC_ANALYZER_WARNING (CWE-775): [#def121] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:78:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tz_data_file_get(), "r")’ /usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’ # 76| TzLocation *loc; # 77| # 78|-> if (*buf == '#') continue; # 79| # 80| g_strchomp(buf); Error: GCC_ANALYZER_WARNING (CWE-401): [#def122] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:78:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tz_data_file_get(), "r")’ /usr/include/glib-2.0/glib/gmem.h:335:57: note: in expansion of macro ‘_G_NEW’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:67:17: note: in expansion of macro ‘g_new0’ # 76| TzLocation *loc; # 77| # 78|-> if (*buf == '#') continue; # 79| # 80| g_strchomp(buf); Error: GCC_ANALYZER_WARNING (CWE-476): [#def123] gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c: scope_hint: In function ‘tz_location_get_base_utc_offset’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:215:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:235:9: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib.h:64: included_from: Included from here. gnome-initial-setup-47.1-build/gnome-initial-setup-47.1/gnome-initial-setup/pages/timezone/tz.c:235:9: note: in expansion of macro ‘g_return_val_if_fail’ # 213| # 214| tz_info = tz_info_from_location (loc); # 215|-> offset = tz_info->utc_offset + (tz_info->daylight ? -3600 : 0); # 216| # 217| for (i = 0; i < G_N_ELEMENTS (base_offset_overrides); i++) {
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-146.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | gnome-initial-setup-47.1-2.fc42 |
store-results-to | /tmp/tmpxn2nuxmp/gnome-initial-setup-47.1-2.fc42.tar.xz |
time-created | 2024-11-12 23:57:56 |
time-finished | 2024-11-13 00:00:38 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpxn2nuxmp/gnome-initial-setup-47.1-2.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpxn2nuxmp/gnome-initial-setup-47.1-2.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |