diff --git a/src/mu-query.c b/src/mu-query.c index 12e6b4e1..b3bae21b 100644 --- a/src/mu-query.c +++ b/src/mu-query.c @@ -157,12 +157,12 @@ print_rows (MuQueryXapian *xapian, const gchar *query, MuConfigOptions *opts) static gboolean -do_output (MuQueryXapian *xapian, GSList *args, MuConfigOptions* opts) +do_output (MuQueryXapian *xapian, MuConfigOptions* opts, gchar **params) { gchar *query; gboolean retval = TRUE; - query = mu_query_xapian_combine (args, FALSE); + query = mu_query_xapian_combine (params, FALSE); /* if xquery is set, we print the xapian query instead of the * output; this is for debugging purposes */ @@ -179,7 +179,7 @@ do_output (MuQueryXapian *xapian, GSList *args, MuConfigOptions* opts) MuResult -mu_query_run (MuConfigOptions *opts, GSList *args) +mu_query_run (MuConfigOptions *opts, gchar **params) { MuQueryXapian *xapian; MuResult rv; @@ -192,7 +192,7 @@ mu_query_run (MuConfigOptions *opts, GSList *args) if (!xapian) return MU_ERROR; - rv = do_output (xapian, args, opts) ? 0 : 1; + rv = do_output (xapian, opts, params) ? 0 : 1; mu_query_xapian_destroy (xapian); diff --git a/src/mu-query.h b/src/mu-query.h index 65ab686d..4c28d6d8 100644 --- a/src/mu-query.h +++ b/src/mu-query.h @@ -3,7 +3,7 @@ #include "mu-config.h" -MuResult mu_query_run (MuConfigOptions *opts, GSList *args); +MuResult mu_query_run (MuConfigOptions *opts, gchar **params); #endif /*__MU_QUERY_H__*/