View | Details | Raw Unified | Return to bug 69007
Collapse All | Expand All

(-)ports/palm/jpilot/files/patch-address_gui.c (+20 lines)
Added Link Here
1
--- address_gui.c~	2004-05-11 22:33:45.364123000 -0400
2
+++ address_gui.c	2004-05-11 22:38:37.506140000 -0400
3
@@ -1427,13 +1427,15 @@
4
    char number[100];
5
    char ext[100];
6
 
7
-   number[0]=ext[0]='\0';
8
-   text=data;
9
 #ifdef ENABLE_GTK2
10
    GtkTextIter    start_iter;
11
    GtkTextIter    end_iter;
12
    GtkTextBuffer *text_buffer;
13
+#endif
14
 
15
+   number[0]=ext[0]='\0';
16
+   text=data;
17
+#ifdef ENABLE_GTK2
18
    text_buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text));
19
    gtk_text_buffer_get_bounds(GTK_TEXT_BUFFER(text),&start_iter,&end_iter);
20
    str = gtk_text_buffer_get_text(GTK_TEXT_BUFFER(text),&start_iter,&end_iter,TRUE);

Return to bug 69007