From 502734b615b728d1e01c028df5dc92827850068e Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 10 Nov 2014 21:27:34 +0100 Subject: rename setRootAtoms to set_root_atoms to fit other names --- src/yawa.c | 4 ++-- src/yawa.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/yawa.c b/src/yawa.c index 269cbce..4b71d1b 100644 --- a/src/yawa.c +++ b/src/yawa.c @@ -135,7 +135,7 @@ static int screen; // Adapted from fluxbox' bsetroot int -setRootAtoms (Pixmap pixmap) +set_root_atoms (Pixmap pixmap) { Atom atom_root, atom_eroot, type; unsigned char *data_root, *data_eroot; @@ -549,7 +549,7 @@ main (int argc, char **argv) imlib_free_image(); imlib_free_color_range(); - if (setRootAtoms(pixmap) == 0) + if (set_root_atoms(pixmap) == 0) fprintf(stderr, "Couldn't create atoms...\n"); XKillClient(display, AllTemporary); diff --git a/src/yawa.h b/src/yawa.h index 088e585..e2b5d1b 100644 --- a/src/yawa.h +++ b/src/yawa.h @@ -10,8 +10,7 @@ typedef struct typedef enum { Full, Fill, Center, Tile } ImageMode; -int setRootAtoms (Pixmap pixmap); -int getHex (char c); +int set_root_atoms (Pixmap pixmap); int parse_color (char *arg, PColor c, int a); int load_image (ImageMode mode, const char *arg, int rootW, int rootH, int alpha, Imlib_Image rootimg); -- cgit v1.2.3-70-g09d2