From e0965ab239c03af7a2bec82b1d39bb5f085e6e23 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 7 Sep 2007 07:51:47 +0000 Subject: 2007-09-07 mcrha Fix for bug #473903 svn path=/trunk/; revision=34192 --- plugins/sa-junk-plugin/ChangeLog | 7 +++++++ plugins/sa-junk-plugin/em-junk-filter.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'plugins/sa-junk-plugin') 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 + + ** 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 ** 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 -- cgit v1.2.3