aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gailcanvas.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-20 18:56:06 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-20 20:06:19 +0800
commit5d0878967ee21a039ef599222b1cf3eb606354d4 (patch)
tree790cfcbf63fea7292740f182dd612ab20244f6e8 /libgnomecanvas/gailcanvas.c
parentf5f2132d60cdd1884c6343f759aadfd38a159e04 (diff)
downloadgsoc2013-evolution-5d0878967ee21a039ef599222b1cf3eb606354d4.tar.gz
gsoc2013-evolution-5d0878967ee21a039ef599222b1cf3eb606354d4.tar.zst
gsoc2013-evolution-5d0878967ee21a039ef599222b1cf3eb606354d4.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'libgnomecanvas/gailcanvas.c')
-rw-r--r--libgnomecanvas/gailcanvas.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/libgnomecanvas/gailcanvas.c b/libgnomecanvas/gailcanvas.c
index 02abd10deb..fb64204a65 100644
--- a/libgnomecanvas/gailcanvas.c
+++ b/libgnomecanvas/gailcanvas.c
@@ -84,9 +84,9 @@ gail_canvas_get_type (void)
if (!type)
{
- GType parent_type = g_type_parent (GNOME_TYPE_CANVAS);
+ GType parent_type = g_type_parent (GNOME_TYPE_CANVAS);
AtkObjectFactory *factory = atk_registry_get_factory (
- atk_get_default_registry (),
+ atk_get_default_registry (),
parent_type);
GType atkobject_parent_type = atk_object_factory_get_accessible_type (factory);
GTypeQuery query;
@@ -118,28 +118,28 @@ gail_canvas_get_type (void)
static AtkObjectClass *parent_atk_object_class;
/**
- * Tell ATK how to create the appropriate AtkObject peers
+ * Tell ATK how to create the appropriate AtkObject peers
**/
void
gail_canvas_init (void)
{
atk_registry_set_factory_type (atk_get_default_registry (),
- GNOME_TYPE_CANVAS,
+ GNOME_TYPE_CANVAS,
gail_canvas_factory_get_type ());
atk_registry_set_factory_type (atk_get_default_registry (),
- GNOME_TYPE_CANVAS_GROUP,
+ GNOME_TYPE_CANVAS_GROUP,
gail_canvas_group_factory_get_type ());
atk_registry_set_factory_type (atk_get_default_registry (),
- GNOME_TYPE_CANVAS_TEXT,
+ GNOME_TYPE_CANVAS_TEXT,
gail_canvas_text_factory_get_type ());
atk_registry_set_factory_type (atk_get_default_registry (),
- GNOME_TYPE_CANVAS_RICH_TEXT,
+ GNOME_TYPE_CANVAS_RICH_TEXT,
gail_canvas_text_factory_get_type ());
atk_registry_set_factory_type (atk_get_default_registry (),
GNOME_TYPE_CANVAS_WIDGET,
gail_canvas_widget_factory_get_type());
atk_registry_set_factory_type (atk_get_default_registry (),
- GNOME_TYPE_CANVAS_ITEM,
+ GNOME_TYPE_CANVAS_ITEM,
gail_canvas_item_factory_get_type ());
}
@@ -154,7 +154,7 @@ gail_canvas_class_init (GailCanvasClass *klass)
class->initialize = gail_canvas_real_initialize;
}
-AtkObject*
+AtkObject*
gail_canvas_new (GtkWidget *widget)
{
GObject *object;
@@ -170,7 +170,6 @@ gail_canvas_new (GtkWidget *widget)
return accessible;
}
-
static void
gail_canvas_real_initialize (AtkObject *obj,
gpointer data)
@@ -197,7 +196,7 @@ gail_canvas_real_initialize (AtkObject *obj,
obj->role = ATK_ROLE_LAYERED_PANE;
}
-static gint
+static gint
gail_canvas_get_n_children (AtkObject* obj)
{
GtkAccessible *accessible;
@@ -221,7 +220,7 @@ gail_canvas_get_n_children (AtkObject* obj)
return 1;
}
-static AtkObject*
+static AtkObject*
gail_canvas_ref_child (AtkObject *obj,
gint i)
{