summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-02 09:46:56 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-02 09:46:56 +0200
commit196395725330a42c363d7e8a274e6a76552dc9cc (patch)
treee5b181da46c2830741ae6e7d34c4048dc7ec95b6 /app
parentaa69c1afefd732627c01f53ef335cc04d4d8d8c1 (diff)
downloadxdg-app-196395725330a42c363d7e8a274e6a76552dc9cc.tar.gz
cli: Remove old deprecated xdg-app commands
Its been long enough so nothing should be using these, lets drop them.
Diffstat (limited to 'app')
-rw-r--r--app/xdg-app-builtins-install.c26
-rw-r--r--app/xdg-app-builtins-list.c14
-rw-r--r--app/xdg-app-builtins-uninstall.c18
-rw-r--r--app/xdg-app-builtins-update.c18
-rw-r--r--app/xdg-app-main.c16
5 files changed, 0 insertions, 92 deletions
diff --git a/app/xdg-app-builtins-install.c b/app/xdg-app-builtins-install.c
index c9658a6..05d18e2 100644
--- a/app/xdg-app-builtins-install.c
+++ b/app/xdg-app-builtins-install.c
@@ -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);
-}
diff --git a/app/xdg-app-builtins-list.c b/app/xdg-app-builtins-list.c
index 0e5c1d1..a198c91 100644
--- a/app/xdg-app-builtins-list.c
+++ b/app/xdg-app-builtins-list.c
@@ -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);
-}
diff --git a/app/xdg-app-builtins-uninstall.c b/app/xdg-app-builtins-uninstall.c
index 4dd1bcd..df738d2 100644
--- a/app/xdg-app-builtins-uninstall.c
+++ b/app/xdg-app-builtins-uninstall.c
@@ -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);
-}
diff --git a/app/xdg-app-builtins-update.c b/app/xdg-app-builtins-update.c
index 3d899e5..b55f169 100644
--- a/app/xdg-app-builtins-update.c
+++ b/app/xdg-app-builtins-update.c
@@ -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);
-}
diff --git a/app/xdg-app-main.c b/app/xdg-app-main.c
index 504a7fb..9f0a642 100644
--- a/app/xdg-app-main.c
+++ b/app/xdg-app-main.c
@@ -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 }
};