GNOME Bugzilla – Bug 765612
Fix "format not a string literal" warning
Last modified: 2016-05-20 20:25:48 UTC
.
Created attachment 326765 [details] [review] GladeGtkFlowBox: Fix "format not a string literal" warning glade-gtk-flow-box.c: In function ‘glade_gtk_flowbox_child_insert_action’: glade-gtk-flow-box.c:205:3: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] glade_command_push_group (group_format, glade_widget_get_name (parent)); ^~~~~~~~~~~~~~~~~~~~~~~~
Created attachment 326766 [details] [review] GladeGtkGrid: Fix "format not a string literal" warning glade-gtk-grid.c: In function ‘glade_gtk_grid_child_insert_remove_action’: glade-gtk-grid.c:496:3: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] glade_command_push_group (group_format, glade_widget_get_name (parent)); ^~~~~~~~~~~~~~~~~~~~~~~~
Created attachment 326767 [details] [review] GladeGtkListBox: Fix "format not a string literal" warning glade-gtk-list-box.c: In function ‘glade_gtk_listbox_child_insert_action’: glade-gtk-list-box.c:208:3: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] glade_command_push_group (group_format, glade_widget_get_name (parent)); ^~~~~~~~~~~~~~~~~~~~~~~~
Created attachment 326768 [details] [review] GladeGtkNotebook: Fix "format not a string literal" warning glade-gtk-notebook.c: In function ‘glade_gtk_box_notebook_child_insert_remove_action’: glade-gtk-notebook.c:988:3: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] glade_command_push_group (group_format, glade_widget_get_name (parent)); ^~~~~~~~~~~~~~~~~~~~~~~~
Created attachment 326769 [details] [review] GladeGtkTable: Fix "format not a string literal" warning glade-gtk-table.c: In function ‘glade_gtk_table_child_insert_remove_action’: glade-gtk-table.c:527:3: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] glade_command_push_group (group_format, glade_widget_get_name (parent)); ^~~~~~~~~~~~~~~~~~~~~~~~
Thanks for the patches Bastien I pushed them to master and glade-3-20 except for the Notebook one because it changes a symbol which should probably be private but it is not :S