balsa r7900 - in trunk: . src



Author: PeterB
Date: Sun Mar 30 16:54:55 2008
New Revision: 7900
URL: http://svn.gnome.org/viewvc/balsa?rev=7900&view=rev

Log:
fix a critical warning

Modified:
   trunk/ChangeLog
   trunk/src/filter-edit-callbacks.c

Modified: trunk/src/filter-edit-callbacks.c
==============================================================================
--- trunk/src/filter-edit-callbacks.c	(original)
+++ trunk/src/filter-edit-callbacks.c	Sun Mar 30 16:54:55 2008
@@ -101,7 +101,9 @@
 /* widgets for the type notebook regex page */
 GtkTreeView *fe_type_regex_list;
 GtkWidget *fe_type_regex_label;
+#if REGULAR_EXPRESSION_FILTERING_IS_IMPLEMENTED
 GtkWidget *fe_type_regex_entry;
+#endif                  /* REGULAR_EXPRESSION_FILTERING_IS_IMPLEMENTED */
 
 /* widgets for the type notebook condition flag page */
 GtkWidget *fe_type_flag_label;
@@ -714,10 +716,10 @@
     if (cnd->type!=CONDITION_STRING)
         gtk_entry_set_text(GTK_ENTRY(fe_type_simple_entry),"");
 
+#if REGULAR_EXPRESSION_FILTERING_IS_IMPLEMENTED
     if (cnd->type!=CONDITION_REGEX)
         gtk_entry_set_text(GTK_ENTRY(fe_type_regex_entry),"");      
 
-#if REGULAR_EXPRESSION_FILTERING_IS_IMPLEMENTED
     gtk_list_store_clear(GTK_LIST_STORE(model));
 #endif                  /* REGULAR_EXPRESSION_FILTERING_IS_IMPLEMENTED */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]