diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-filter-bar.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index ce2c894193..555c6c6133 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,5 +1,10 @@ 2007-03-27 Matthew Barnes <mbarnes@redhat.com> + * e-filter-bar.c (menubar_activated): Fix build breakage due to + poorly placed preprocessor condition. + +2007-03-27 Matthew Barnes <mbarnes@redhat.com> + * e-filter-bar.c: * e-multi-config-dialog.c: Don't mix declarations and code (#405495). diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c index f755ac8dba..b94e5f21da 100644 --- a/widgets/misc/e-filter-bar.c +++ b/widgets/misc/e-filter-bar.c @@ -242,6 +242,7 @@ menubar_activated (ESearchBar *esb, int id, void *data) { EFilterBar *efb = (EFilterBar *)esb; GtkWidget *dialog; + GtkStyle *style; d(printf ("menubar activated!\n")); @@ -269,7 +270,6 @@ menubar_activated (ESearchBar *esb, int id, void *data) if (id >= efb->menu_base && id < efb->menu_base + efb->menu_rules->len) { #if d(!)0 GString *out = g_string_new (""); - GtkStyle *style; printf("Selected rule: %s\n", ((FilterRule *)efb->menu_rules->pdata[id - efb->menu_base])->name); filter_rule_build_code (efb->menu_rules->pdata[id - efb->menu_base], out); |