summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-03 14:37:47 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-03 14:37:47 (EDT)
commit824e3e297e0464ed4a867c4203a50eedea1e70be (patch)
tree8a6e2cee18cebe6c2c10a803e3494f0fe38cb450 /src/utils
parentd3461b32194c18d99329738fa7a64862de519c5b (diff)
downloadmarquee-824e3e297e0464ed4a867c4203a50eedea1e70be.zip
marquee-824e3e297e0464ed4a867c4203a50eedea1e70be.tar.gz
marquee-824e3e297e0464ed4a867c4203a50eedea1e70be.tar.bz2
src/utils/profile-icon.c: Don't use macros in SVG document string
This partially reverts commit d3461b3.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/profile-icon.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/utils/profile-icon.c b/src/utils/profile-icon.c
index 4284a1d..eec4d8e 100644
--- a/src/utils/profile-icon.c
+++ b/src/utils/profile-icon.c
@@ -30,13 +30,9 @@
#define PROFILE_SVG_WIDTH 16
#define PROFILE_SVG_HEIGHT 16
-#define STRX(S) #S
-#define STR(S) STRX(S)
static const gchar *profile_svg =
- "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\""
- STR(PROFILE_SVG_WIDTH) "\" height=\"" STR(PROFILE_SVG_HEIGHT)
- "\" viewBox=\"0, 0, " STR(PROFILE_SVG_WIDTH) ", "
- STR(PROFILE_SVG_HEIGHT) "\">\n"
+ "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" "
+ "viewBox=\"0, 0, 16, 16\">\n"
"<rect x=\"1\" y=\"9\" width=\"14\" height=\"7\" "
"rx=\"2\" ry=\"2\" fill=\"@COLOR@\" />\n"
"<ellipse cx=\"8\" cy=\"11\" rx=\"7\" ry=\"4\" "