diff options
author | Peter Williams <peterw@ximian.com> | 2001-08-08 07:50:27 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-08-08 07:50:27 +0800 |
commit | 0d68b2038e40ca3c2140035e5f549443d88077b3 (patch) | |
tree | 0e525587e5aa4611d9a7cce5ca0bad9d184e07c6 /mail/subscribe-dialog.c | |
parent | 4e7cdf40884e0675e4b82c825d03fb02d8eca843 (diff) | |
download | gsoc2013-evolution-0d68b2038e40ca3c2140035e5f549443d88077b3.tar.gz gsoc2013-evolution-0d68b2038e40ca3c2140035e5f549443d88077b3.tar.zst gsoc2013-evolution-0d68b2038e40ca3c2140035e5f549443d88077b3.zip |
Revert Jeff's changes to subscribe-dialog.[ch]. It's not a widget, it's an
2001-08-07 Peter Williams <peterw@ximian.com>
* Revert Jeff's changes to subscribe-dialog.[ch]. It's not a widget,
it's an object from which you can obtain a widget.
svn path=/trunk/; revision=11755
Diffstat (limited to 'mail/subscribe-dialog.c')
-rw-r--r-- | mail/subscribe-dialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c index 4e868e3c6e..c075bbfa00 100644 --- a/mail/subscribe-dialog.c +++ b/mail/subscribe-dialog.c @@ -1520,15 +1520,15 @@ subscribe_dialog_construct (GtkObject *object) populate_store_list (sc); } -GtkWidget * +GtkObject * subscribe_dialog_new (void) { SubscribeDialog *subscribe_dialog; - + subscribe_dialog = gtk_type_new (SUBSCRIBE_DIALOG_TYPE); subscribe_dialog_construct (GTK_OBJECT (subscribe_dialog)); - - return GTK_WIDGET (subscribe_dialog); + + return GTK_OBJECT (subscribe_dialog); } E_MAKE_TYPE (subscribe_dialog, "SubscribeDialog", SubscribeDialog, subscribe_dialog_class_init, subscribe_dialog_init, PARENT_TYPE); |