summaryrefslogtreecommitdiff
path: root/gtk/a11y/gtkiconviewaccessible.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-10-02 19:13:30 +0200
committerBenjamin Otte <otte@redhat.com>2012-10-02 19:32:38 +0200
commit9e486139ca3e58daddef107212bb9f734016314b (patch)
tree128b12c968c35b32df987d316e98f9695dfc1bd8 /gtk/a11y/gtkiconviewaccessible.c
parenteddac4911f6fb113bdee85457207c3f10c18f756 (diff)
downloadgtk+-9e486139ca3e58daddef107212bb9f734016314b.tar.gz
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.
Diffstat (limited to 'gtk/a11y/gtkiconviewaccessible.c')
-rw-r--r--gtk/a11y/gtkiconviewaccessible.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/a11y/gtkiconviewaccessible.c b/gtk/a11y/gtkiconviewaccessible.c
index 40333b7b8c..533df60f85 100644
--- a/gtk/a11y/gtkiconviewaccessible.c
+++ b/gtk/a11y/gtkiconviewaccessible.c
@@ -51,6 +51,8 @@ typedef struct
} GtkIconViewItemAccessibleClass;
+GType _gtk_icon_view_item_accessible_get_type (void);
+
static gboolean gtk_icon_view_item_accessible_is_showing (GtkIconViewItemAccessible *item);
static void atk_component_item_interface_init (AtkComponentIface *iface);