diff options
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 |