From f960fd2dff5358f0e13eba7041d35855bf48c22e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 24 Jun 2012 07:31:28 -0400 Subject: Reduce usage of g_type_class_peek_parent(). G_DEFINE_TYPE macros define a static "parent_class" variable. --- addressbook/gui/widgets/ea-addressbook-view.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'addressbook/gui/widgets/ea-addressbook-view.c') diff --git a/addressbook/gui/widgets/ea-addressbook-view.c b/addressbook/gui/widgets/ea-addressbook-view.c index c5bb9fc018..5120f083b7 100644 --- a/addressbook/gui/widgets/ea-addressbook-view.c +++ b/addressbook/gui/widgets/ea-addressbook-view.c @@ -32,8 +32,6 @@ static const gchar * ea_ab_view_get_description (AtkObject *accessible); static void ea_ab_view_class_init (EAddressbookViewClass *class); -static gpointer parent_class = NULL; - GType ea_ab_view_get_type (void) { @@ -80,8 +78,6 @@ ea_ab_view_class_init (EAddressbookViewClass *class) { AtkObjectClass *atk_object_class; - parent_class = g_type_class_peek_parent (class); - atk_object_class = ATK_OBJECT_CLASS (class); atk_object_class->get_name = ea_ab_view_get_name; atk_object_class->get_description = ea_ab_view_get_description; -- cgit v1.2.3