cli: Remove old deprecated xdg-app commands

Its been long enough so nothing should be using these, lets drop them.
tingping/wmclass
Alexander Larsson 2016-05-02 09:46:56 +02:00
parent aa69c1afef
commit 1963957253
5 changed files with 0 additions and 92 deletions

View File

@ -263,29 +263,3 @@ xdg_app_builtin_install (int argc, char **argv, GCancellable *cancellable, GErro
return TRUE;
}
gboolean
xdg_app_builtin_install_runtime (int argc, char **argv, GCancellable *cancellable, GError **error)
{
opt_runtime = TRUE;
opt_app = FALSE;
return xdg_app_builtin_install (argc, argv, cancellable, error);
}
gboolean
xdg_app_builtin_install_app (int argc, char **argv, GCancellable *cancellable, GError **error)
{
opt_runtime = FALSE;
opt_app = TRUE;
return xdg_app_builtin_install (argc, argv, cancellable, error);
}
gboolean
xdg_app_builtin_install_bundle (int argc, char **argv, GCancellable *cancellable, GError **error)
{
opt_bundle = TRUE;
return xdg_app_builtin_install (argc, argv, cancellable, error);
}

View File

@ -255,17 +255,3 @@ xdg_app_builtin_list (int argc, char **argv, GCancellable *cancellable, GError *
return TRUE;
}
gboolean
xdg_app_builtin_list_runtimes (int argc, char **argv, GCancellable *cancellable, GError **error)
{
opt_runtime = TRUE;
return xdg_app_builtin_list (argc, argv, cancellable, error);
}
gboolean
xdg_app_builtin_list_apps (int argc, char **argv, GCancellable *cancellable, GError **error)
{
opt_app = TRUE;
return xdg_app_builtin_list (argc, argv, cancellable, error);
}

View File

@ -147,21 +147,3 @@ xdg_app_builtin_uninstall (int argc, char **argv, GCancellable *cancellable, GEr
return TRUE;
}
gboolean
xdg_app_builtin_uninstall_runtime (int argc, char **argv, GCancellable *cancellable, GError **error)
{
opt_runtime = TRUE;
opt_app = FALSE;
return xdg_app_builtin_uninstall (argc, argv, cancellable, error);
}
gboolean
xdg_app_builtin_uninstall_app (int argc, char **argv, GCancellable *cancellable, GError **error)
{
opt_runtime = FALSE;
opt_app = TRUE;
return xdg_app_builtin_uninstall (argc, argv, cancellable, error);
}

View File

@ -232,21 +232,3 @@ xdg_app_builtin_update (int argc,
return TRUE;
}
gboolean
xdg_app_builtin_update_runtime (int argc, char **argv, GCancellable *cancellable, GError **error)
{
opt_runtime = TRUE;
opt_app = FALSE;
return xdg_app_builtin_update (argc, argv, cancellable, error);
}
gboolean
xdg_app_builtin_update_app (int argc, char **argv, GCancellable *cancellable, GError **error)
{
opt_runtime = FALSE;
opt_app = TRUE;
return xdg_app_builtin_update (argc, argv, cancellable, error);
}

View File

@ -74,22 +74,6 @@ static XdgAppCommand commands[] = {
{ "build-sign", xdg_app_builtin_build_sign, "Sign an application or runtime" },
{ "build-update-repo", xdg_app_builtin_build_update_repo, "Update the summary file in a repository" },
/* Deprecated old names */
{ "install-runtime", xdg_app_builtin_install_runtime, NULL, TRUE },
{ "install-app", xdg_app_builtin_install_app, NULL, TRUE },
{ "update-app", xdg_app_builtin_update_app, NULL, TRUE },
{ "update-runtime", xdg_app_builtin_update_runtime, NULL, TRUE },
{ "uninstall-runtime", xdg_app_builtin_uninstall_runtime, NULL, TRUE },
{ "uninstall-app", xdg_app_builtin_uninstall_app, NULL, TRUE },
{ "install-bundle", xdg_app_builtin_install_bundle, NULL, TRUE },
{ "make-app-current", xdg_app_builtin_make_current_app, NULL, TRUE },
{ "add-remote", xdg_app_builtin_add_remote, NULL, TRUE },
{ "delete-remote", xdg_app_builtin_delete_remote, NULL, TRUE },
{ "modify-remote", xdg_app_builtin_modify_remote, NULL, TRUE },
{ "ls-remote", xdg_app_builtin_ls_remote, NULL, TRUE },
{ "list-remotes", xdg_app_builtin_list_remotes, NULL, TRUE },
{ "list-runtimes", xdg_app_builtin_list_runtimes, NULL, TRUE },
{ "list-apps", xdg_app_builtin_list_apps, NULL, TRUE },
{ NULL }
};