summaryrefslogtreecommitdiffstats
path: root/swaylock/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaylock/main.c')
-rw-r--r--swaylock/main.c8
1 files changed, 4 insertions, 4 deletions
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;
38struct pam_response *pam_reply; 38struct pam_response *pam_reply;
39 39
40int function_conversation(int num_msg, const struct pam_message **msg, 40int function_conversation(int num_msg, const struct pam_message **msg,
41 struct pam_response **resp, void *appdata_ptr) { 41 struct pam_response **resp, void *appdata_ptr) {
42 *resp = pam_reply; 42 *resp = pam_reply;
43 return PAM_SUCCESS; 43 return PAM_SUCCESS;
44} 44}
45 45
46/** 46/**
47 * password will be zeroed out. 47 * password will be zeroed out.
@@ -122,7 +122,7 @@ int main(int argc, char **argv) {
122 cairo_surface_t *image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf); 122 cairo_surface_t *image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf);
123 g_object_unref(pixbuf); 123 g_object_unref(pixbuf);
124#else 124#else
125 cairo_surface_t *image = cairo_image_surface_create_from_png(argv[1]); 125 cairo_surface_t *image = cairo_image_surface_create_from_png(argv[1]);
126#endif //WITH_GDK_PIXBUF 126#endif //WITH_GDK_PIXBUF
127 if (!image) { 127 if (!image) {
128 sway_abort("Failed to read background image."); 128 sway_abort("Failed to read background image.");