diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-09-07 15:51:47 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-09-07 15:51:47 +0800 |
commit | e0965ab239c03af7a2bec82b1d39bb5f085e6e23 (patch) | |
tree | 946eee9f7cb4090de265afd449d3dc8e9bf8fe62 /plugins/sa-junk-plugin | |
parent | 9841d5bfd279d7f8540f2035fb0fa5b6eddb4138 (diff) | |
download | gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.gz gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.bz2 gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.lz gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.xz gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.zst gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.zip |
2007-09-07 mcrha Fix for bug #473903
svn path=/trunk/; revision=34192
Diffstat (limited to 'plugins/sa-junk-plugin')
-rw-r--r-- | plugins/sa-junk-plugin/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/sa-junk-plugin/em-junk-filter.c | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/plugins/sa-junk-plugin/ChangeLog b/plugins/sa-junk-plugin/ChangeLog index 546a2982b8..ccade72b1f 100644 --- a/plugins/sa-junk-plugin/ChangeLog +++ b/plugins/sa-junk-plugin/ChangeLog @@ -1,3 +1,10 @@ +2007-09-07 Milan Crha <mcrha@redhat.com> + + ** Part of fix for bug #473903 + + * em-junk-filter.c: (em_junk_sa_validate_binary): Changing function + prototype to fit what is expected in 'invoke', returns value based on it. + 2007-08-22 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #468303 diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c index 04262d9c9f..bfe1fbbd8d 100644 --- a/plugins/sa-junk-plugin/em-junk-filter.c +++ b/plugins/sa-junk-plugin/em-junk-filter.c @@ -65,7 +65,7 @@ gboolean em_junk_sa_check_junk (EPlugin *ep, EMJunkHookTarget *target); void em_junk_sa_report_junk (EPlugin *ep, EMJunkHookTarget *target); void em_junk_sa_report_non_junk (EPlugin *ep, EMJunkHookTarget *target); void em_junk_sa_commit_reports (EPlugin *ep, EMJunkHookTarget *target); -gboolean em_junk_sa_validate_binary (EPlugin *ep, EMJunkHookTarget *target); +void *em_junk_sa_validate_binary (EPlugin *ep, EMJunkHookTarget *target); GtkWidget *org_gnome_sa_use_remote_tests (struct _EPlugin *epl, struct _EConfigHookItemFactoryData *data); static void em_junk_sa_init (void); @@ -721,10 +721,10 @@ em_junk_sa_commit_reports (EPlugin *ep, EMJunkHookTarget *target) } } -gboolean +void * em_junk_sa_validate_binary (EPlugin *ep, EMJunkHookTarget *target) { - return em_junk_sa_is_available (); + return em_junk_sa_is_available () ? "1" : NULL; } static void |