summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-06-09 00:02:00 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-06-09 00:02:40 -0400
commit6dc730ecfe0f0a572684e70abc570c40cc9594fb (patch)
treed13a310ef244961b9011d84c45623f6d09dd914e
parent91a887f9167239fe204ae560da3ab857aac536c8 (diff)
downloadnautilus-6dc730ecfe0f0a572684e70abc570c40cc9594fb.tar.gz
icon-container: fix some GCC warnings
-rw-r--r--libnautilus-private/nautilus-icon-canvas-item.c2
-rw-r--r--libnautilus-private/nautilus-icon-container.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-icon-canvas-item.c b/libnautilus-private/nautilus-icon-canvas-item.c
index fbe2d26de..1d440e2b0 100644
--- a/libnautilus-private/nautilus-icon-canvas-item.c
+++ b/libnautilus-private/nautilus-icon-canvas-item.c
@@ -2739,6 +2739,8 @@ nautilus_icon_canvas_item_accessible_text_interface_init (AtkTextIface *iface)
iface->get_offset_at_point = nautilus_icon_canvas_item_accessible_get_offset_at_point;
}
+static GType nautilus_icon_canvas_item_accessible_get_type (void);
+
G_DEFINE_TYPE_WITH_CODE (NautilusIconCanvasItemAccessible,
nautilus_icon_canvas_item_accessible,
eel_canvas_item_accessible_get_type (),
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index d6a59a5ac..90e876a7a 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -8938,6 +8938,8 @@ nautilus_icon_container_accessible_ref_child (AtkObject *accessible, int i)
}
}
+static GType nautilus_icon_container_accessible_get_type (void);
+
G_DEFINE_TYPE_WITH_CODE (NautilusIconContainerAccessible, nautilus_icon_container_accessible,
eel_canvas_accessible_get_type (),
G_IMPLEMENT_INTERFACE (ATK_TYPE_ACTION, nautilus_icon_container_accessible_action_interface_init)