aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-10 21:27:34 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-11-10 21:27:34 +0100
commit502734b615b728d1e01c028df5dc92827850068e (patch)
treefcdfb9867406867de015413120473a3358d80af9
parent1df04d698bb4de1a6e8ce3c6f93c5dc551a5a7c4 (diff)
downloadyawa-502734b615b728d1e01c028df5dc92827850068e.tar.xz
rename setRootAtoms to set_root_atoms to fit other names
-rw-r--r--src/yawa.c4
-rw-r--r--src/yawa.h3
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);