changeset 999:bec68cc06ae2

remove no longer used HTML_SET_TOP_ATTR macro
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Thu, 12 Mar 2009 21:18:00 +0100
parents 9e07ea8a694b
children e9718df7942c
files src/html_common.hh
diffstat 1 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/src/html_common.hh	Wed Mar 11 12:36:27 2009 -0300
+++ b/src/html_common.hh	Thu Mar 12 21:18:00 2009 +0100
@@ -35,26 +35,6 @@
    } D_STMT_END
 
 /*
- * Change one toplevel attribute. var should be an identifier. val is
- * only evaluated once, so you can safely use a function call for it.
- */
-#if 0
-#define HTML_SET_TOP_ATTR(html, var, val) \
-   do { \
-      StyleAttrs style_attrs; \
-      Style *old_style; \
-       \
-      old_style = S_TOP(html)->style; \
-      style_attrs = *old_style; \
-      style_attrs.var = (val); \
-      S_TOP(html)->style = \
-         Style::create (HT2LT(html), &style_attrs); \
-      old_style->unref (); \
-   } while (FALSE)
-#else
-#define HTML_SET_TOP_ATTR(html, var, val)
-#endif
-/*
  * Typedefs
  */