]> Pileus Git - ~andy/gtk/commit
a11y: Fix for -Wmissing-declarations
authorBenjamin Otte <otte@redhat.com>
Tue, 2 Oct 2012 17:13:30 +0000 (19:13 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 2 Oct 2012 17:32:38 +0000 (19:32 +0200)
commit9e486139ca3e58daddef107212bb9f734016314b
tree128b12c968c35b32df987d316e98f9695dfc1bd8
parenteddac4911f6fb113bdee85457207c3f10c18f756
a11y: Fix for -Wmissing-declarations

I'll add a bunch of fixes for gcc complaining about
-Wmissing-declarations after finding a bunch of cases today where I had
forgotten to make functions static in the CSS code.

A thorn in those patches is G_DEFINE_TYPE() which doesn't allow making
the get_type() function static, so I added definitions for that function
above the G_DEFINE_TYPE().

After those patches, GTK should compile without warnings when this flag
is enabled.
gtk/a11y/Makefile.am
gtk/a11y/gail.c
gtk/a11y/gail.h [new file with mode: 0644]
gtk/a11y/gtkiconviewaccessible.c
gtk/a11y/gtklinkbuttonaccessible.c
gtk/a11y/gtktreeviewaccessible.c
gtk/gtkmain.c