2007-04-15 Sergio Villar Senin <svillar@igalia.com>
[modest] / src / widgets / modest-account-view-window.h
index 4f314e3..b9cee2c 100644 (file)
@@ -4,7 +4,7 @@
 #ifndef __MODEST_ACCOUNT_VIEW_WINDOW_H__
 #define __MODEST_ACCOUNT_VIEW_WINDOW_H__
 
-#include <gtk/gtkwidget.h>
+#include <widgets/modest-window.h>
 
 G_BEGIN_DECLS
 
@@ -20,19 +20,35 @@ typedef struct _ModestAccountViewWindow      ModestAccountViewWindow;
 typedef struct _ModestAccountViewWindowClass ModestAccountViewWindowClass;
 
 struct _ModestAccountViewWindow {
-        GtkWindow parent;
+        GtkDialog parent;
        /* insert public members, if any */
 };
 
 struct _ModestAccountViewWindowClass {
-       GtkWindowClass parent_class;
+       GtkDialogClass parent_class;
        /* insert signal callback declarations, eg. */
        /* void (* my_event) (ModestAccountViewWindow* obj); */
 };
 
-/* member functions */
+/**
+ * modest_account_view_window_get_type
+ *
+ * Gets the #GType for the account view window class
+ * 
+ * Returns: the #GType
+ **/
 GType        modest_account_view_window_get_type    (void) G_GNUC_CONST;
 
+
+
+/**
+ * modest_account_view_window_new:
+ * @account_view: a #ModestAccountView
+ * 
+ * Create a new acccount view window
+ * 
+ * Returns: a new account view window, or NULL in case of error
+ **/
 GtkWidget*   modest_account_view_window_new         (void);
 
 G_END_DECLS