* src/maemo/easysetup/modest-easysetup-country-combo-box.c:
[modest] / src / maemo / easysetup / modest-easysetup-wizard.h
index 6814280..2eb2f79 100644 (file)
@@ -57,9 +57,9 @@ G_BEGIN_DECLS
        (G_TYPE_CHECK_CLASS_CAST ((klass), \
        MODEST_TYPE_EASYSETUP_WIZARD_DIALOG, ModestEasysetupWizardDialogClass))
 
-#define ACCOUNT_IS_WIZARD_DIALOG(obj) \
-       (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
-       MODEST_TYPE_EASYSETUP_WIZARD_DIALOG))
+#define MODEST_IS_EASYSETUP_WIZARD_DIALOG(obj) \
+       (G_TYPE_CHECK_INSTANCE_TYPE ((obj),                             \
+                                    MODEST_TYPE_EASYSETUP_WIZARD_DIALOG))
 
 #define MODEST_EASYSETUP_IS_WIZARD_DIALOG_CLASS(klass) \
        (G_TYPE_CHECK_CLASS_TYPE ((klass), \
@@ -125,6 +125,11 @@ typedef struct {
 
 GType modest_easysetup_wizard_dialog_get_type (void);
 
+/*
+ * NOTE: can be instantiated only once; after that, this function will
+ * return NULL, until the one before is destroyed; if it returns NULL
+ * it will gtk_window_present the existing one.
+ */
 ModestEasysetupWizardDialog* modest_easysetup_wizard_dialog_new (void);
 
 G_END_DECLS