diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-10 21:27:34 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-10 21:27:34 +0100 |
commit | 502734b615b728d1e01c028df5dc92827850068e (patch) | |
tree | fcdfb9867406867de015413120473a3358d80af9 | |
parent | 1df04d698bb4de1a6e8ce3c6f93c5dc551a5a7c4 (diff) | |
download | yawa-502734b615b728d1e01c028df5dc92827850068e.tar.xz |
rename setRootAtoms to set_root_atoms to fit other names
-rw-r--r-- | src/yawa.c | 4 | ||||
-rw-r--r-- | src/yawa.h | 3 |
2 files changed, 3 insertions, 4 deletions
@@ -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); @@ -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); |