]> err.no Git - eweouz/commitdiff
Get rid of obsolete debug code
authorTollef Fog Heen <tfheen@err.no>
Tue, 16 Oct 2007 18:07:47 +0000 (20:07 +0200)
committerTollef Fog Heen <tfheen@err.no>
Tue, 16 Oct 2007 18:07:47 +0000 (20:07 +0200)
src/dump-addressbook.c

index 3aa9c9561942dcc5a24e643968cb3fbbf6a423b8..4f8e47de9711c26f106d04f56dedf14849ea0686 100644 (file)
@@ -50,21 +50,6 @@ void dump_as_vcard(EContact *contact, int dump_all)
                        }
                }
        }
-
-/*     char *name = e_contact_get(contact, E_CONTACT_FULL_NAME);
-       char *nickname = e_contact_get(contact, E_CONTACT_NICKNAME);
-
-       printf("Name: %s\n", name);
-
-       if (nickname && strcmp("", nickname) != 0) {
-               printf("Nickname: %s\n", nickname);
-       }
-
-       free(name);
-       free(nickname);
-
-*/
-
 }
 
 int main(int argc, char **argv)
@@ -91,14 +76,13 @@ int main(int argc, char **argv)
        for (g = groups; g; g = g->next) {
 
                group = E_SOURCE_GROUP (g->data);
-               printf("SOURCE GROUP: %s\n", e_source_group_peek_base_uri(group));
                sources = e_source_group_peek_sources(group);
 
                for (s = sources ; s; s = s->next) {
                        source = E_SOURCE(s->data);
                        book = e_book_new(source, &error);
                        e_book_open(book, TRUE, &error);
-                       printf("\tSOURCE: %s\n", e_source_peek_name(source));
+
                        //      query = e_book_query_any_field_contains("");
                        query = e_book_query_field_exists(E_CONTACT_FULL_NAME);
                        e_book_get_contacts(book, query, &contacts, &error);