|
|
@ -167,7 +167,7 @@ int main(int argc, const char **argv) {
|
|
|
|
if (!pixbuf) {
|
|
|
|
if (!pixbuf) {
|
|
|
|
sway_abort("Failed to load background image.");
|
|
|
|
sway_abort("Failed to load background image.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cairo_surface_t *image=__gdk_cairo_image_surface_create_from_pixbuf(pixbuf);
|
|
|
|
cairo_surface_t *image = __gdk_cairo_image_surface_create_from_pixbuf(pixbuf);
|
|
|
|
g_object_unref(pixbuf);
|
|
|
|
g_object_unref(pixbuf);
|
|
|
|
if (!image) {
|
|
|
|
if (!image) {
|
|
|
|
sway_abort("Failed to read background image.");
|
|
|
|
sway_abort("Failed to read background image.");
|
|
|
|