• Chun-wei Fan's avatar
    gtkcssimagelinear.c: Avoid VLAs · 23edff16
    Chun-wei Fan authored
    VLAs are not supported by Visual Studio and possibly other compilers that
    are supported by GTK+-3.90+, and probably never will be, although it is a
    C99 specification, and it became optional for C11.  It is also not a part
    of the newer compiler requirements that are listed out for GTK+-3.90.x.
    
    There exist concerns about the implementation of VLAs in compilers that
    support them as well, so change it to a g_newa() approach.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773299
    23edff16
Name
Last commit
Last update
build Loading commit data...
demos Loading commit data...
docs Loading commit data...
examples Loading commit data...
gdk Loading commit data...
gsk Loading commit data...
gtk Loading commit data...
m4 Loading commit data...
modules Loading commit data...
po Loading commit data...
po-properties Loading commit data...
tests Loading commit data...
testsuite Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
HACKING Loading commit data...
INSTALL.in Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.decl Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
README.commits Loading commit data...
README.in Loading commit data...
README.win32 Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.ac Loading commit data...
gail-4.0.pc.in Loading commit data...
git.mk Loading commit data...
gtk+-4.0.pc.in Loading commit data...
gtk+-unix-print-4.0.pc.in Loading commit data...
gtk+.doap Loading commit data...
gtk-zip.sh.in Loading commit data...
make-pot Loading commit data...
makefile.msc Loading commit data...
sanitize-la.sh Loading commit data...