From a91a0e92b5b14bbaaebe803747003d27e2a72bd2 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Tue, 27 Apr 2004 19:33:30 +0000 Subject: remove debug spew. 2004-04-27 Larry Ewing * gui/component/addressbook-config.c: remove debug spew. svn path=/trunk/; revision=25640 --- addressbook/ChangeLog | 4 ++++ addressbook/gui/component/addressbook-config.c | 11 +++-------- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index e17173c57e..7035deff71 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,7 @@ +2004-04-27 Larry Ewing + + * gui/component/addressbook-config.c: remove debug spew. + 2004-04-27 Jeffrey Stedfast * gui/component/addressbook-migrate.c (addressbook_migrate): diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index baad07f731..ddd6fb21ef 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -642,10 +642,9 @@ general_tab_check (AddressbookSourceDialog *dialog) return TRUE; string = gtk_entry_get_text (GTK_ENTRY (dialog->host)); - if (!string || !string[0]) { + if (!string || !string[0]) valid = FALSE; - g_warning ("no host"); - } + if (valid) { if (dialog->auth != ADDRESSBOOK_LDAP_AUTH_NONE) { if (dialog->auth == ADDRESSBOOK_LDAP_AUTH_SIMPLE_BINDDN) @@ -653,10 +652,8 @@ general_tab_check (AddressbookSourceDialog *dialog) else string = gtk_entry_get_text (GTK_ENTRY (dialog->email)); - if (!string || !string[0]) { - g_warning ("no string"); + if (!string || !string[0]) valid = FALSE; - } } } @@ -1009,8 +1006,6 @@ add_folder_modify (GtkWidget *widget, AddressbookSourceDialog *sdialog) gboolean valid = TRUE; gboolean remote = FALSE; - g_warning ("Modify callback"); - valid = display_name_check (sdialog); remote = source_group_is_remote (sdialog->source_group); -- cgit