aboutsummaryrefslogtreecommitdiff
path: root/swaylock
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-05 23:42:40 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-05 23:42:40 +0100
commit364e37a1ebe8d3dfca7f1e59d247ace76e3f90b8 (patch)
treead4982838b282f2424c29490b00014ed62c0bdfe /swaylock
parent2e0ef533f29212b80efd69eb647893145e8356ae (diff)
Fix whitespace issues.
Diffstat (limited to 'swaylock')
-rw-r--r--swaylock/CMakeLists.txt12
-rw-r--r--swaylock/main.c8
2 files changed, 10 insertions, 10 deletions
diff --git a/swaylock/CMakeLists.txt b/swaylock/CMakeLists.txt
index 6b110e77..ff76cdbc 100644
--- a/swaylock/CMakeLists.txt
+++ b/swaylock/CMakeLists.txt
@@ -22,12 +22,12 @@ target_link_libraries(swaylock
)
if (WITH_GDK_PIXBUF)
- include_directories(
- ${GDK_PIXBUF_INCLUDE_DIRS}
- )
- target_link_libraries(swaylock
- ${GDK_PIXBUF_LIBRARIES}
- )
+ include_directories(
+ ${GDK_PIXBUF_INCLUDE_DIRS}
+ )
+ target_link_libraries(swaylock
+ ${GDK_PIXBUF_LIBRARIES}
+ )
endif()
install(
diff --git a/swaylock/main.c b/swaylock/main.c
index eccb902e..9de95e7a 100644
--- a/swaylock/main.c
+++ b/swaylock/main.c
@@ -38,10 +38,10 @@ char *password;
struct pam_response *pam_reply;
int function_conversation(int num_msg, const struct pam_message **msg,
- struct pam_response **resp, void *appdata_ptr) {
+ struct pam_response **resp, void *appdata_ptr) {
*resp = pam_reply;
- return PAM_SUCCESS;
-}
+ return PAM_SUCCESS;
+}
/**
* password will be zeroed out.
@@ -122,7 +122,7 @@ int main(int argc, char **argv) {
cairo_surface_t *image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf);
g_object_unref(pixbuf);
#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
if (!image) {
sway_abort("Failed to read background image.");