In src/vte.c:
> +static void default_vte_terminal_set_background_image_file(VteTerminal *terminal, const char *path) > +{ > + if (background_image_pixbuf) > + { > + g_object_unref(background_image_pixbuf); > + background_image_pixbuf = NULL; > + } > + > + if (path != NULL) > + { > + GError *error = NULL; > + > + background_image_pixbuf = gdk_pixbuf_new_from_file(path, &error); > + if (! background_image_pixbuf) > + { > + g_warning("Failed to load VTE background image: %s", error->message);
BTW, apparently VTE's implementation of this fails silently when the file can't be open/isn't an image. Warning is better for us I suppose, though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.