On Tue, Jan 8, 2019 at 7:43 PM Victor Toso <victortoso@xxxxxxxxxx> wrote: > > From: Victor Toso <me@xxxxxxxxxxxxxx> > > Deprecated since v0.15 with: > > commit 0af80691680be769f3e9d1047ed27a0245cddab3 > Author: Hans de Goede <hdegoede@xxxxxxxxxx> > Date: Thu Oct 11 10:00:02 2012 +0200 > > Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx> ack! > --- > src/spice-option.c | 15 --------------- > 1 file changed, 15 deletions(-) > > diff --git a/src/spice-option.c b/src/spice-option.c > index 6b400bc..dc5ca4d 100644 > --- a/src/spice-option.c > +++ b/src/spice-option.c > @@ -136,18 +136,6 @@ static gboolean parse_secure_channels(const gchar *option_name, const gchar *val > return TRUE; > } > > - > -static gboolean parse_usbredir_filter(const gchar *option_name, > - const gchar *value, > - gpointer data, GError **error) > - > -{ > - g_warning("--spice-usbredir-filter is deprecated, please use --spice-usbredir-auto-redirect-filter instead"); > - g_free(usbredir_auto_redirect_filter); > - usbredir_auto_redirect_filter = g_strdup(value); > - return TRUE; > -} > - > static gboolean parse_preferred_compression(const gchar *option_name, const gchar *value, > gpointer data, GError **error) > { > @@ -211,9 +199,6 @@ GOptionGroup* spice_get_option_group(void) > N_("Path to the local certificate database to use for software smartcard certificates"), N_("<certificate-db>") }, > { "spice-disable-usbredir", '\0', 0, G_OPTION_ARG_NONE, &disable_usbredir, > N_("Disable USB redirection support"), NULL }, > - /* Backward compats version of spice-usbredir-auto-redirect-filter */ > - { "spice-usbredir-filter", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, parse_usbredir_filter, > - NULL, NULL }, > { "spice-usbredir-auto-redirect-filter", '\0', 0, G_OPTION_ARG_STRING, &usbredir_auto_redirect_filter, > N_("Filter selecting USB devices to be auto-redirected when plugged in"), N_("<filter-string>") }, > { "spice-usbredir-redirect-on-connect", '\0', 0, G_OPTION_ARG_STRING, &usbredir_redirect_on_connect, > -- > 2.20.1 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/spice-devel -- Marc-André Lureau _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel