Snippets for amtterm 1.6 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/amtterm/1.6/27.fc45/data/logs/i686/build.log.
-
amtterm.c:251:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 251 | fgets(r.pass, sizeof(r.pass), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:64:5: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 64 | [ REDIR_NONE ] = GTK_STOCK_DISCONNECT, | ^ -
gamt.c:71:5: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 71 | [ REDIR_RUN_SOL ] = GTK_STOCK_CONNECT, | ^ -
gamt.c:77:5: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 77 | [ REDIR_CLOSED ] = GTK_STOCK_DISCONNECT, | ^ -
gamt.c:78:5: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 78 | [ REDIR_ERROR ] = GTK_STOCK_DISCONNECT, | ^ -
gamt.c:111:42: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 111 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | ^~~~~~~~~~~~~~~~ -
gamt.c:112:42: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 112 | GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, | ^~~~~~~~~~~~~~ -
gamt.c:152:5: warning: ‘gtk_ui_manager_get_widget’ is deprecated [-Wdeprecated-declarations] 152 | item = gtk_ui_manager_get_widget(gamt->ui, "/MainMenu/TtyMenu/WriteLog"); | ^~~~ -
gamt.c:173:5: warning: ‘gtk_ui_manager_get_widget’ is deprecated [-Wdeprecated-declarations] 173 | item = gtk_ui_manager_get_widget(gamt->ui, "/MainMenu/TtyMenu/WriteLog"); | ^~~~ -
gamt.c:209:5: warning: ‘gtk_action_get_name’ is deprecated [-Wdeprecated-declarations] 209 | if (1 != sscanf(gtk_action_get_name(action), "ConnectTo_%s", amt_host)) | ^~ -
gamt.c:245:5: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations] 245 | gboolean state = gtk_toggle_action_get_active(action); | ^~~~~~~~ -
gamt.c:342:5: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations] 342 | gboolean state = gtk_toggle_action_get_active(action); | ^~~~~~~~ -
gamt.c:410:27: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 410 | "logo-icon-name", GTK_STOCK_ABOUT, | ^~~~~~~~~~~~~~~~ -
gamt.c:468:9: warning: ‘gtk_image_set_from_stock’ is deprecated: Use 'gtk_image_set_from_icon_name' instead [-Wdeprecated-declarations] 468 | gtk_image_set_from_stock(GTK_IMAGE(gamt->icon), state_stock[new], | ^~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:504:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 504 | .stock_id = GTK_STOCK_CONNECT, | ^ -
gamt.c:509:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 509 | .stock_id = GTK_STOCK_DISCONNECT, | ^ -
gamt.c:514:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 514 | .stock_id = GTK_STOCK_SAVE, | ^ -
gamt.c:519:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 519 | .stock_id = GTK_STOCK_QUIT, | ^ -
gamt.c:532:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 532 | .stock_id = GTK_STOCK_SELECT_FONT, | ^ -
gamt.c:548:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 548 | .stock_id = GTK_STOCK_HELP, | ^ -
gamt.c:553:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 553 | .stock_id = GTK_STOCK_INFO, | ^ -
gamt.c:558:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 558 | .stock_id = GTK_STOCK_ABOUT, | ^ -
gamt.c:638:42: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 638 | GTK_STOCK_OK, | ^~~~~~~~~~~~ -
gamt.c:640:42: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 640 | GTK_STOCK_CANCEL, | ^~~~~~~~~~~~~~~~ -
gamt.c:646:5: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations] 646 | gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); | ^~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:704:9: warning: ‘gtk_ui_manager_remove_ui’ is deprecated [-Wdeprecated-declarations] 704 | gtk_ui_manager_remove_ui(gamt->ui, gamt->hosts_id); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:708:9: warning: ‘gtk_ui_manager_remove_action_group’ is deprecated [-Wdeprecated-declarations] 708 | gtk_ui_manager_remove_action_group(gamt->ui, gamt->hosts_ag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:716:5: warning: ‘gtk_action_group_new’ is deprecated [-Wdeprecated-declarations] 716 | gamt->hosts_ag = gtk_action_group_new("HostActions"); | ^~~~ -
gamt.c:730:9: warning: ‘gtk_action_group_add_actions’ is deprecated [-Wdeprecated-declarations] 730 | gtk_action_group_add_actions(gamt->hosts_ag, &entry, 1, gamt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:735:5: warning: ‘gtk_ui_manager_insert_action_group’ is deprecated [-Wdeprecated-declarations] 735 | gtk_ui_manager_insert_action_group(gamt->ui, gamt->hosts_ag, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:736:5: warning: ‘gtk_ui_manager_add_ui_from_string’ is deprecated [-Wdeprecated-declarations] 736 | gamt->hosts_id = gtk_ui_manager_add_ui_from_string(gamt->ui, hosts_xml, -1, &err); | ^~~~ -
gamt.c:805:5: warning: ‘gtk_ui_manager_new’ is deprecated [-Wdeprecated-declarations] 805 | gamt->ui = gtk_ui_manager_new(); | ^~~~ -
gamt.c:806:5: warning: ‘gtk_action_group_new’ is deprecated [-Wdeprecated-declarations] 806 | gamt->ag = gtk_action_group_new("MenuActions"); | ^~~~ -
gamt.c:807:5: warning: ‘gtk_action_group_add_actions’ is deprecated [-Wdeprecated-declarations] 807 | gtk_action_group_add_actions(gamt->ag, entries, G_N_ELEMENTS(entries), gamt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:808:5: warning: ‘gtk_action_group_add_toggle_actions’ is deprecated [-Wdeprecated-declarations] 808 | gtk_action_group_add_toggle_actions(gamt->ag, tentries, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:810:5: warning: ‘gtk_ui_manager_insert_action_group’ is deprecated [-Wdeprecated-declarations] 810 | gtk_ui_manager_insert_action_group(gamt->ui, gamt->ag, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:817:5: warning: ‘gtk_ui_manager_add_ui_from_string’ is deprecated [-Wdeprecated-declarations] 817 | if (!gtk_ui_manager_add_ui_from_string(gamt->ui, ui_xml, -1, &err)) { | ^~ -
gamt.c:838:5: warning: ‘gtk_ui_manager_get_widget’ is deprecated [-Wdeprecated-declarations] 838 | item = gtk_ui_manager_get_widget(gamt->ui, "/MainMenu/ConfigMenu/BlinkCursor"); | ^~~~ -
gamt.c:846:5: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations] 846 | gtk_misc_set_alignment(GTK_MISC(gamt->status), 0, 0.5); | ^~~~~~~~~~~~~~~~~~~~~~ -
gamt.c:847:5: warning: ‘gtk_misc_set_padding’ is deprecated [-Wdeprecated-declarations] 847 | gtk_misc_set_padding(GTK_MISC(gamt->status), 3, 1); | ^~~~~~~~~~~~~~~~~~~~ -
gamt.c:848:5: warning: ‘gtk_image_new_from_stock’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 848 | gamt->icon = gtk_image_new_from_stock(GTK_STOCK_DISCONNECT, | ^~~~ -
gamt.c:848:5: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 848 | gamt->icon = gtk_image_new_from_stock(GTK_STOCK_DISCONNECT, | ^~~~ -
gamt.c:856:5: warning: ‘gtk_ui_manager_get_widget’ is deprecated [-Wdeprecated-declarations] 856 | item = gtk_ui_manager_get_widget(gamt->ui, "/MainMenu"); | ^~~~ -
gamt.c:448:48: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 119 [-Wformat-truncation=] 448 | snprintf(buf, sizeof(buf), "%s: ERROR: %s", gamt->redir.host, | ^~