aboutsummaryrefslogtreecommitdiffstats
path: root/mail/subscribe-dialog.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-08 07:19:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-08 07:19:20 +0800
commitfc7ad0c9a97377934f6f1c03c5fa805a6c471513 (patch)
tree07e894ae98ad386f35bbad9ab2359cbd18152afd /mail/subscribe-dialog.c
parenta3075377cc82352d45107303b3cde5a22b0cfb44 (diff)
downloadgsoc2013-evolution-fc7ad0c9a97377934f6f1c03c5fa805a6c471513.tar.gz
gsoc2013-evolution-fc7ad0c9a97377934f6f1c03c5fa805a6c471513.tar.zst
gsoc2013-evolution-fc7ad0c9a97377934f6f1c03c5fa805a6c471513.zip
This should return a GtkWidget not a GtkObject.
2001-08-07 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (subscribe_dialog_new): This should return a GtkWidget not a GtkObject. * mail-session.c (get_filter_driver): Update to use user's logging preferences. * mail-accounts.c (filter_log_toggled): New. (filter_log_path_changed): New. (construct): Get and attach signals to the filter logging option widgets. * mail-config.c (config_read): Read in filter logging options. (mail_config_write_on_exit): Save filter logging options. (mail_config_set_filter_log_path): Implemented. (mail_config_get_filter_log_path): Implemented. (mail_config_set_filter_log): Implemented. (mail_config_get_filter_log): Implemented. svn path=/trunk/; revision=11751
Diffstat (limited to 'mail/subscribe-dialog.c')
-rw-r--r--mail/subscribe-dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c
index c075bbfa00..4e868e3c6e 100644
--- a/mail/subscribe-dialog.c
+++ b/mail/subscribe-dialog.c
@@ -1520,15 +1520,15 @@ subscribe_dialog_construct (GtkObject *object)
populate_store_list (sc);
}
-GtkObject *
+GtkWidget *
subscribe_dialog_new (void)
{
SubscribeDialog *subscribe_dialog;
-
+
subscribe_dialog = gtk_type_new (SUBSCRIBE_DIALOG_TYPE);
subscribe_dialog_construct (GTK_OBJECT (subscribe_dialog));
-
- return GTK_OBJECT (subscribe_dialog);
+
+ return GTK_WIDGET (subscribe_dialog);
}
E_MAKE_TYPE (subscribe_dialog, "SubscribeDialog", SubscribeDialog, subscribe_dialog_class_init, subscribe_dialog_init, PARENT_TYPE);