diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-03-27 19:49:52 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-03-27 19:49:52 +0800 |
commit | 18466caf145bbfee664af0fb65f7ce06d49ad327 (patch) | |
tree | 46e2fcb0efaa3e2f7f5d63206152efd05981c70e /widgets/misc | |
parent | a38bcb6f06001d658cf582c869bf2c3405f52289 (diff) | |
download | gsoc2013-evolution-18466caf145bbfee664af0fb65f7ce06d49ad327.tar.gz gsoc2013-evolution-18466caf145bbfee664af0fb65f7ce06d49ad327.tar.zst gsoc2013-evolution-18466caf145bbfee664af0fb65f7ce06d49ad327.zip |
Fix build breakage due to poorly placed preprocessor condition.
2007-03-27 Matthew Barnes <mbarnes@redhat.com>
* widgets/misc/e-filter-bar.c (menubar_activated):
Fix build breakage due to poorly placed preprocessor condition.
svn path=/trunk/; revision=33326
Diffstat (limited to 'widgets/misc')
-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); |