[gegl] tools/operations_html: some dead code removed
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] tools/operations_html: some dead code removed
- Date: Fri, 5 May 2017 22:09:48 +0000 (UTC)
commit b0ce170e478330dbbf3e2c8ed9f2df85477c5b4a
Author: Øyvind Kolås <pippin gimp org>
Date: Sat May 6 00:09:29 2017 +0200
tools/operations_html: some dead code removed
tools/operations_html.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/tools/operations_html.c b/tools/operations_html.c
index d5d8364..f67b491 100644
--- a/tools/operations_html.c
+++ b/tools/operations_html.c
@@ -416,9 +416,7 @@ main (gint argc, gchar **argv)
const char *categoris = gegl_operation_class_get_key (klass, "categories");
const char *description = gegl_operation_class_get_key (klass, "description");
- gchar *title2 = g_strdup_printf ("%s", name);
- g_string_append_printf (s, html_pre, name, css, "");
- g_free (title2);
+ g_string_append_printf (s, html_pre, name, css, ";body { margin: 1em 5% 1em 5%; }");
g_string_append_printf (s, "<div class='operation'><h2 style='clear:both;'>%s</h2>\n",
title?title:name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]