diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-12 21:18:00 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-12 21:18:00 +0100 |
commit | 6110dbfaaf79dad91b089edf273bf839f229b76e (patch) | |
tree | 61adf50389e989992d7e8379db281ac7c657f62e /src/html_common.hh | |
parent | 0568c79484d1176d20dd1124fd66a8372571aba2 (diff) |
remove no longer used HTML_SET_TOP_ATTR macro
Diffstat (limited to 'src/html_common.hh')
-rw-r--r-- | src/html_common.hh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/html_common.hh b/src/html_common.hh index 88de079c..ab38ad87 100644 --- a/src/html_common.hh +++ b/src/html_common.hh @@ -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 */ |