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 | |
parent | 4e7cdf40884e0675e4b82c825d03fb02d8eca843 (diff) | |
download | gsoc2013-evolution-0d68b2038e40ca3c2140035e5f549443d88077b3.tar gsoc2013-evolution-0d68b2038e40ca3c2140035e5f549443d88077b3.tar.gz gsoc2013-evolution-0d68b2038e40ca3c2140035e5f549443d88077b3.tar.bz2 gsoc2013-evolution-0d68b2038e40ca3c2140035e5f549443d88077b3.tar.lz gsoc2013-evolution-0d68b2038e40ca3c2140035e5f549443d88077b3.tar.xz 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')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/subscribe-dialog.c | 8 | ||||
-rw-r--r-- | mail/subscribe-dialog.h | 2 |
3 files changed, 10 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 2298ff0516..63b46541a0 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +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. + 2001-08-07 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (manage_subscriptions): Hide the app->window. 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); diff --git a/mail/subscribe-dialog.h b/mail/subscribe-dialog.h index b838f13cc4..10fa5d9f44 100644 --- a/mail/subscribe-dialog.h +++ b/mail/subscribe-dialog.h @@ -54,7 +54,7 @@ typedef struct { } SubscribeDialogClass; GtkType subscribe_dialog_get_type (void); -GtkWidget *subscribe_dialog_new (void); +GtkObject *subscribe_dialog_new (void); void subscribe_dialog_run_and_close (SubscribeDialog *dialog); #endif /* _SUBSCRIBE_DIALOG_H_ */ |