From 08d116fb924bde1079b7c19fc1182d6e8c93be77 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Fri, 21 Jul 2006 16:20:42 +0000 Subject: [PATCH] * coding style pmo-trunk-r409 --- src/widgets/modest-account-view.c | 4 ++-- src/widgets/modest-account-view.h | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/widgets/modest-account-view.c b/src/widgets/modest-account-view.c index 356168d..eb3e0f3 100644 --- a/src/widgets/modest-account-view.c +++ b/src/widgets/modest-account-view.c @@ -286,7 +286,7 @@ init_view (ModestAccountView *self) -GtkWidget* +ModestAccountView* modest_account_view_new (ModestAccountMgr *account_mgr) { GObject *obj; @@ -302,6 +302,6 @@ modest_account_view_new (ModestAccountMgr *account_mgr) init_view (MODEST_ACCOUNT_VIEW (obj)); - return GTK_WIDGET(obj); + return MODEST_ACCOUNT_VIEW(obj); } diff --git a/src/widgets/modest-account-view.h b/src/widgets/modest-account-view.h index bb0263d..2fe7c19 100644 --- a/src/widgets/modest-account-view.h +++ b/src/widgets/modest-account-view.h @@ -61,9 +61,7 @@ struct _ModestAccountViewClass { /* member functions */ GType modest_account_view_get_type (void) G_GNUC_CONST; - - -GtkWidget* modest_account_view_new (ModestAccountMgr *account_mgr); +ModestAccountView* modest_account_view_new (ModestAccountMgr *account_mgr); G_END_DECLS -- 1.7.9.5