Missing warnings on meson build
@Salamandar: Apart from one gir warning (which is a real one), our meson build is now warning-free. But this is actually not right since the autotools display some warnings (which we want to see). For instance:
../../libgimpwidgets/../libgimpwidgets/gimpcolorbutton.c: In function ‘gimp_color_button_constructed’:
../../libgimpwidgets/../libgimpwidgets/gimpcolorbutton.c:345:3: warning: ‘gtk_ui_manager_new’ is deprecated [-Wdeprecated-declarations]
345 | priv->ui_manager = gtk_ui_manager_new ();
| ^~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:284,
from ../../libgimpwidgets/../libgimpwidgets/gimpcolorbutton.c:27:
/usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:130:16: note: declared here
130 | GtkUIManager *gtk_ui_manager_new (void);
| ^~~~~~~~~~~~~~~~~~
../../libgimpwidgets/../libgimpwidgets/gimpcolorbutton.c:347:3: warning: ‘gtk_action_group_new’ is deprecated [-Wdeprecated-declarations]
347 | group = gtk_action_group_new ("color-button");
| ^~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:254,
from ../../libgimpwidgets/../libgimpwidgets/gimpcolorbutton.c:27:
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here
175 | GtkActionGroup *gtk_action_group_new (const gchar *name);
| ^~~~~~~~~~~~~~~~~~~~
../../libgimpwidgets/../libgimpwidgets/gimpcolorbutton.c:367:7: warning: ‘gtk_action_group_add_action_with_accel’ is deprecated [-Wdeprecated-declarations]
367 | gtk_action_group_add_action_with_accel (group, action,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:254,
from ../../libgimpwidgets/../libgimpwidgets/gimpcolorbutton.c:27:
/usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:203:17: note: declared here
203 | void gtk_action_group_add_action_with_accel (GtkActionGroup *action_group,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../libgimpwidgets/../libgimpwidgets/gimpcolorbutton.c:373:3: warning: ‘gtk_ui_manager_insert_action_group’ is deprecated [-Wdeprecated-declarations]
373 | gtk_ui_manager_insert_action_group (priv->ui_manager, group, -1);
If you look at the CI builds and compare meson and autotools build, you'll see them (for instance last autotools build at time of writing). From a quick scroll, I found at least some GTK+, GDK, Pango and GLib deprecation warnings. And we definitely want them all, since ultimately we will have to fix them all.