Add G_STRV_INIT macro
It would be nice if we had a macro for defining inline (const char * const[])
as they are getting used by more and more APIs with GTK 4.
I'm not sure on the portability of this, but in Builder we have:
#define IDE_STRV_INIT(...) ((const char * const[]) { __VA_ARGS__, NULL})
which works rather well with various GTK API.
From @ebassi
<ebassi> This works, and removes the need to declare the array argument:
<ebassi> gtk_application_set_accels_for_action (GTK_APPLICATION (self),
<ebassi> "win.open",
<ebassi> (const char *[]) {
<ebassi> "<Ctrl>o",
<ebassi> NULL,
<ebassi> });
<ebassi> So having a `G_STRV_INIT(...)` would also work