aboutsummaryrefslogtreecommitdiffstats
path: root/mail/subscribe-dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/subscribe-dialog.h')
-rw-r--r--mail/subscribe-dialog.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/subscribe-dialog.h b/mail/subscribe-dialog.h
index 10fa5d9f44..e546ea8f83 100644
--- a/mail/subscribe-dialog.h
+++ b/mail/subscribe-dialog.h
@@ -41,10 +41,11 @@
#define IS_SUBSCRIBE_DIALOG_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), SUBSCRIBE_DIALOG_TYPE))
typedef struct _SubscribeDialogPrivate SubscribeDialogPrivate;
-struct _SubscribeDialog {
- GtkObject parent;
- GtkWidget *app;
+struct _SubscribeDialog {
+ GtkObject parent;
+
+ GtkWidget *app;
SubscribeDialogPrivate *priv;
};
@@ -55,6 +56,8 @@ typedef struct {
GtkType subscribe_dialog_get_type (void);
GtkObject *subscribe_dialog_new (void);
-void subscribe_dialog_run_and_close (SubscribeDialog *dialog);
+
+/* helper macro */
+#define subscribe_dialog_show(dialog) gtk_widget_show (SUBSCRIBE_DIALOG (dialog)->app)
#endif /* _SUBSCRIBE_DIALOG_H_ */