* coding style
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Fri, 21 Jul 2006 16:20:42 +0000 (16:20 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Fri, 21 Jul 2006 16:20:42 +0000 (16:20 +0000)
pmo-trunk-r409

src/widgets/modest-account-view.c
src/widgets/modest-account-view.h

index 356168d..eb3e0f3 100644 (file)
@@ -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);
 }
 
index bb0263d..2fe7c19 100644 (file)
@@ -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