summaryrefslogtreecommitdiff
blob: fad2d4f8ae5e7c778d9e1a0f81a662cc1fec6d01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);