aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2000-12-12 02:50:04 +0800
committerIain Holmes <iain@src.gnome.org>2000-12-12 02:50:04 +0800
commitcd4860d5678704047ac2882a74b2ba8e95b22737 (patch)
tree437ceee0c1dcb0e90ef50e09a82591a9c8227a90
parentb7c314b29c684bd589796a1bc0374a2be9c84aa6 (diff)
downloadgsoc2013-evolution-cd4860d5678704047ac2882a74b2ba8e95b22737.tar.gz
gsoc2013-evolution-cd4860d5678704047ac2882a74b2ba8e95b22737.tar.zst
gsoc2013-evolution-cd4860d5678704047ac2882a74b2ba8e95b22737.zip
Memory leaks-- Default HTML prettiness++
Memory leaks-- Default HTML prettiness++ svn path=/trunk/; revision=6911
-rw-r--r--executive-summary/ChangeLog2
-rw-r--r--executive-summary/component/e-summary-util.c2
-rw-r--r--executive-summary/summary.html15
3 files changed, 15 insertions, 4 deletions
diff --git a/executive-summary/ChangeLog b/executive-summary/ChangeLog
index dc8d3d1382..d8bd05ccc9 100644
--- a/executive-summary/ChangeLog
+++ b/executive-summary/ChangeLog
@@ -19,6 +19,8 @@
* component/e-summary.c (html_event): Use the name spaced #define.
+ * component/e-summary-util (e_pixmap_file): Free the edir.
+
2000-12-08 Iain Holmes <iain@helixcode.com>
* summary.html: Don't hardcode the image paths.
diff --git a/executive-summary/component/e-summary-util.c b/executive-summary/component/e-summary-util.c
index 8ed8d4daea..52f4994185 100644
--- a/executive-summary/component/e-summary-util.c
+++ b/executive-summary/component/e-summary-util.c
@@ -45,6 +45,7 @@ e_pixmap_file (const char *filename)
return ret;
}
+ g_free (edir);
/* Try the evolution button images dir */
edir = g_concat_dir_and_file (EVOLUTION_DATADIR "/images/evolution/buttons",
@@ -56,6 +57,7 @@ e_pixmap_file (const char *filename)
return ret;
}
+ g_free (edir);
/* Fall back to the gnome_pixmap_file */
return gnome_pixmap_file (filename);
diff --git a/executive-summary/summary.html b/executive-summary/summary.html
index bec3417476..458080bf6e 100644
--- a/executive-summary/summary.html
+++ b/executive-summary/summary.html
@@ -4,19 +4,26 @@
</head>
<body bgcolor="#ffffff" background="executive-summary-bg.png">
-<table cellpadding="0" cellspacing="0" numcols="3" width="100%">
+<table cellpadding="0" cellspacing="0" numcols="3" width="100%" height="100%">
<tr>
<td bgcolor="#9aadbf" height="102">
<img src="butterfly.png"></td>
-<td colspan="2" align="middle" bgcolor="#9aadbf">
+<td width="100%" colspan="2" align="middle" bgcolor="#9aadbf">
E V O L U T I O N
</td></tr>
<tr><td bgcolor="#9aadbf">&nbsp;</td>
<td><img src="executive-summary-curve.png"></td>
-<td><form method="get" action="/search" name="f">Search on Google: <input type="text" size="15" name=q></form></td>
+<td>
+<table>
+<tr>
+<td align="middle">Search on Google: </td>
+<td align="middle"><form method="get" action="/search" name="f"><input type="text" size="15" name=q></form></td>
+</tr>
+</table>
+</td>
</tr>
<tr height="100%">
-<td bgcolor="#9aadbf">&nbsp;</td>
+<td height="100%" bgcolor="#9aadbf">&nbsp;</td>
<td colspan="2"><table width="100%" height="100%">
<tr>
<td>