From fa8623e7ea878cdb46503db7e2dcee285019ff31 Mon Sep 17 00:00:00 2001 From: Sarfraaz Ahmed Date: Tue, 19 Jul 2005 08:51:05 +0000 Subject: This is no longer needed. gtk_widget_destroy will take care of destroying 2005-07-18 Sarfraaz Ahmed * exchange-folder-size-display.c (parent_destroyed) : This is no longer needed. gtk_widget_destroy will take care of destroying it. Fixes #310699 * exchange-account-setup.c (org_gnome_exchange_settings) : Fixed a warning. Alignment cannot be set for a radio button svn path=/trunk/; revision=29796 --- plugins/exchange-operations/exchange-account-setup.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/exchange-operations/exchange-account-setup.c') diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c index 8e7dd2e2e0..e0b949ba16 100644 --- a/plugins/exchange-operations/exchange-account-setup.c +++ b/plugins/exchange-operations/exchange-account-setup.c @@ -164,7 +164,8 @@ btn_fsize_clicked (GtkButton *button, gpointer data) account = acclist->data; model = exchange_account_folder_size_get_model (account); - exchange_folder_size_display (model, GTK_WIDGET (button)); + if (model) + exchange_folder_size_display (model, GTK_WIDGET (button)); } /* only used in editor */ @@ -278,8 +279,6 @@ org_gnome_exchange_settings(EPlugin *epl, EConfigHookItemFactoryData *data) radio_iof = (GtkRadioButton*) gtk_object_new (GTK_TYPE_RADIO_BUTTON, "label", _("I am in the office"), NULL); radio_oof = (GtkRadioButton*) gtk_object_new (GTK_TYPE_RADIO_BUTTON, "label", _("I am out of the office"), "group", radio_iof, NULL); } - gtk_misc_set_alignment (GTK_MISC (radio_iof), 0, 0.5); - gtk_misc_set_alignment (GTK_MISC (radio_oof), 0, 0.5); gtk_signal_connect (GTK_OBJECT (radio_oof), "toggled", G_CALLBACK (toggled_state), NULL); -- cgit v1.2.3