Patch from Matt Black in bug 70127 12 Mar 2005 agriffis --- address_gui.c~ 2004-02-22 14:34:23 -0500 +++ address_gui.c 2004-11-04 23:59:24 -0500 @@ -1427,12 +1427,15 @@ char number[100]; char ext[100]; - number[0]=ext[0]='\0'; - text=data; #ifdef ENABLE_GTK2 GtkTextIter start_iter; GtkTextIter end_iter; GtkTextBuffer *text_buffer; +#endif + + number[0]=ext[0]='\0'; + text=data; +#ifdef ENABLE_GTK2 text_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text)); gtk_text_buffer_get_bounds(GTK_TEXT_BUFFER(text),&start_iter,&end_iter);