mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Fix whitespace issues.
This commit is contained in:
parent
2e0ef533f2
commit
364e37a1eb
6 changed files with 20 additions and 20 deletions
|
@ -20,12 +20,12 @@ target_link_libraries(swaybg
|
||||||
)
|
)
|
||||||
|
|
||||||
if (WITH_GDK_PIXBUF)
|
if (WITH_GDK_PIXBUF)
|
||||||
include_directories(
|
include_directories(
|
||||||
${GDK_PIXBUF_INCLUDE_DIRS}
|
${GDK_PIXBUF_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
target_link_libraries(swaybg
|
target_link_libraries(swaybg
|
||||||
${GDK_PIXBUF_LIBRARIES}
|
${GDK_PIXBUF_LIBRARIES}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
|
|
@ -22,12 +22,12 @@ target_link_libraries(swaylock
|
||||||
)
|
)
|
||||||
|
|
||||||
if (WITH_GDK_PIXBUF)
|
if (WITH_GDK_PIXBUF)
|
||||||
include_directories(
|
include_directories(
|
||||||
${GDK_PIXBUF_INCLUDE_DIRS}
|
${GDK_PIXBUF_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
target_link_libraries(swaylock
|
target_link_libraries(swaylock
|
||||||
${GDK_PIXBUF_LIBRARIES}
|
${GDK_PIXBUF_LIBRARIES}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
|
|
@ -122,7 +122,7 @@ int main(int argc, char **argv) {
|
||||||
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);
|
||||||
#else
|
#else
|
||||||
cairo_surface_t *image = cairo_image_surface_create_from_png(argv[1]);
|
cairo_surface_t *image = cairo_image_surface_create_from_png(argv[1]);
|
||||||
#endif //WITH_GDK_PIXBUF
|
#endif //WITH_GDK_PIXBUF
|
||||||
if (!image) {
|
if (!image) {
|
||||||
sway_abort("Failed to read background image.");
|
sway_abort("Failed to read background image.");
|
||||||
|
|
Loading…
Reference in a new issue