File gtk3-bnc891647-generate-full-builtin-icon-cache.patch of Package gtk3

diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index e374a6a..046ae23 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1755,7 +1755,7 @@ else
 endif
 endif
 	$(AM_V_GEN) $(gtk_update_icon_cache_program) --quiet --force --ignore-theme-index		\
-	   --source builtin_icons stock-icons > gtkbuiltincache.h.tmp &&        \
+	   --include-image-data --source builtin_icons stock-icons > gtkbuiltincache.h.tmp &&        \
 	mv gtkbuiltincache.h.tmp gtkbuiltincache.h
 
 EXTRA_DIST +=                   \
diff --git a/gtk/updateiconcache.c b/gtk/updateiconcache.c
index 6faa3e4..42e9e69 100644
--- a/gtk/updateiconcache.c
+++ b/gtk/updateiconcache.c
@@ -1652,6 +1652,7 @@ static GOptionEntry args[] = {
   { "force", 'f', 0, G_OPTION_ARG_NONE, &force_update, N_("Overwrite an existing cache, even if up to date"), NULL },
   { "ignore-theme-index", 't', 0, G_OPTION_ARG_NONE, &ignore_theme_index, N_("Don't check for the existence of index.theme"), NULL },
   { "index-only", 'i', 0, G_OPTION_ARG_NONE, &index_only, N_("Don't include image data in the cache"), NULL },
+  { "include-image-data", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &index_only, N_("Include image data in the cache"), NULL },
   { "source", 'c', 0, G_OPTION_ARG_STRING, &var_name, N_("Output a C header file"), "NAME" },
   { "quiet", 'q', 0, G_OPTION_ARG_NONE, &quiet, N_("Turn off verbose output"), NULL },
   { "validate", 'v', 0, G_OPTION_ARG_NONE, &validate, N_("Validate existing icon cache"), NULL },
openSUSE Build Service is sponsored by