This is indeed a complex problem and it is hard to do anything reasonable about a missing GTK frontend when debconf is not initiated from the terminal.
OTOH I think there is an easy fix for GTK+ to always include an "image-missing" icon at compile time, but apparently I'm not the first one coming up with this idea, but something is still broken:
gtk/gtkiconhelper.c:494
if (destination == NULL)
{
GError *error = NULL;
destination = gtk_icon_theme_load_icon (icon_theme, "image-missing", width, flags | GTK_ICON_LOOKUP_USE_BUILTIN | GTK_ICON_LOOKUP_GENERIC_FALLBACK, &error);
/* We include this image as resource, so we always have it available or
* the icontheme code is broken */
g_assert_no_error (error);
g_assert (destination);
symbolic = FALSE;
}
This is indeed a complex problem and it is hard to do anything reasonable about a missing GTK frontend when debconf is not initiated from the terminal.
OTOH I think there is an easy fix for GTK+ to always include an "image-missing" icon at compile time, but apparently I'm not the first one coming up with this idea, but something is still broken:
gtk/gtkiconhelp er.c:494
if (destination == NULL) theme_load_ icon (icon_theme,
"image- missing" ,
width,
flags | GTK_ICON_ LOOKUP_ USE_BUILTIN | GTK_ICON_ LOOKUP_ GENERIC_ FALLBACK,
&error) ; assert_ no_error (error);
{
GError *error = NULL;
destination = gtk_icon_
/* We include this image as resource, so we always have it available or
* the icontheme code is broken */
g_
g_assert (destination);
symbolic = FALSE;
}