summaryrefslogtreecommitdiff
path: root/client/as-builder.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2022-03-11 12:23:38 +0000
committerRichard Hughes <richard@hughsie.com>2022-06-08 08:05:26 +0100
commitc6c37d096f3d236e86c3073a58f7836298b05faa (patch)
treec410495e2b66284977b870d72ecf24bc848839d0 /client/as-builder.c
parent61e94967e9f05a04cd5c4a2d6c4afc72e4dcf8a9 (diff)
downloadappstream-glib-c6c37d096f3d236e86c3073a58f7836298b05faa.tar.gz
Remove the --enable-hidpi option completely
Based on a patch by Fabian Vogt <fvogt@suse.de>, many thanks.
Diffstat (limited to 'client/as-builder.c')
-rw-r--r--client/as-builder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/as-builder.c b/client/as-builder.c
index 60464bb..0ae5308 100644
--- a/client/as-builder.c
+++ b/client/as-builder.c
@@ -80,7 +80,7 @@ main (int argc, char **argv)
{ "include-failed", '\0', 0, G_OPTION_ARG_NONE, &include_failed,
/* TRANSLATORS: command line option */
_("Include failed results in the output"), NULL },
- { "enable-hidpi", '\0', 0, G_OPTION_ARG_NONE, &hidpi_enabled,
+ { "enable-hidpi", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &hidpi_enabled,
/* TRANSLATORS: command line option */
_("Add HiDPI icons to the tarball"), NULL },
{ "enable-embed", '\0', 0, G_OPTION_ARG_NONE, &embedded_icons,
@@ -229,7 +229,7 @@ main (int argc, char **argv)
/* set build flags */
if (hidpi_enabled)
- flags |= ASB_CONTEXT_FLAG_HIDPI_ICONS;
+ g_printerr ("--enable-hidpi now does nothing and will be removed in future versions\n");
if (add_cache_id)
g_print ("--add-cache-id now does nothing and will be removed in future versions\n");
if (embedded_icons)